# Introduction Source: https://docs.growthchannel.com/api-reference/introduction Welcome to the Growth Channel API documentation. ## Welcome Welcome to the Growth Channel API! This documentation will help you get started with our public endpoints to access your advertising campaign data. Our API is designed to be straightforward and easy to use. You can use it to retrieve performance metrics, auction data, and more. ## Base URL All endpoints are served from: ```text theme={null} https://api.growthchannel.io ``` ## Authentication All public endpoints require an agency API key, except [Public API-KEY](/api-reference/public/getHintApiKey). To authenticate your requests, send your agency's API key in the `X-Api-Key` header. ```bash Example theme={null} curl --request GET \ --url 'https://api.growthchannel.io/performance/?date_from=2026-01-01&date_to=2026-01-07' \ --header 'X-Api-Key: YOUR_API_KEY' ``` If you don't have an API key, please contact an administrator to have one generated for you. If the header is missing or the key is invalid, the API returns `401 Unauthorized`: ```json theme={null} { "error": { "code": "UNAUTHORIZED", "message": "X-Api-Key header required", "details": { "field": "X-Api-Key", "issue": "missing" }, "request_id": "..." } } ``` For an invalid key, `message` is `Invalid API key` and `details.issue` is `invalid`. ## Data scope An API key belongs to an agency. Reports return data only for the advertisers that the key can access. * **Agency key**: access to all advertisers of the agency. * **Portfolio key**: a key issued to a white-label agency. It can access its own agency and every agency in its portfolio. You can narrow a report with two optional query parameters: | Parameter | Description | | - | - | | `advertiser_id` | Return data for one advertiser only. It must belong to an agency that your key can access. Omit it to get all accessible advertisers. | | `agency_id` | Return data for one agency only. It must be your agency or an agency in your portfolio. | > [!NOTE] > > `advertiser_id` is required for the [Daily Auction](/api-reference/public/getDailyAuction) report. ## Common conventions ### Dates * `date_from` and `date_to` are required on every report, in `YYYY-MM-DD` format. * Both dates are inclusive. A single day (`date_from` equal to `date_to`) is allowed. * `date_from` must not be after `date_to`. * The range between `date_from` and `date_to` cannot exceed 365 days. ### Pagination Reports that accept `page` return 20 rows per page. * `page=1` is the first page. * If you omit `page` or send `page=0`, all rows are returned in one response. Paginated responses include this object: ```json theme={null} "pagination": { "current_page": 1, "total_pages": 5, "total_count": 89 } ``` ### Errors All errors share the same format: ```json theme={null} { "error": { "code": "VALIDATION_ERROR", "message": "Date range cannot exceed 365 days", "details": { "date_from": "2025-01-01", "date_to": "2026-06-01", "date_range": 516, "max_allowed": 365 }, "request_id": "4cf3fd6c-b2a8-483d-bb50-f51255c4943c" } } ``` | Status | Code | When | | - | - | - | | 400 | `VALIDATION_ERROR` | A parameter is missing or invalid. | | 401 | `UNAUTHORIZED` | The `X-Api-Key` header is missing or invalid. | | 403 | `FORBIDDEN` | The key is not allowed to use this endpoint. | | 404 | `NOT_FOUND` | The requested resource does not exist. | | 500 | `INTERNAL_ERROR` | An unexpected server error occurred. | > [!WARNING] > > Today the API returns HTTP `200` for every response, including errors. Check `body.error.code` to tell success from failure instead of relying on the HTTP status. Include `request_id` when you contact support about an error. Common validation messages: | Message | Cause | | - | - | | `Missing required parameters` | A required parameter is missing. `details.missing_fields` lists them. | | `Invalid date format. Use YYYY-MM-DD format` | `date_from` or `date_to` is not a valid date. | | `date_from must not be after date_to` | The dates are in the wrong order. | | `Date range cannot exceed 365 days` | The date range is too long. | | `advertiser_id must be a valid integer` | `advertiser_id` is not a number. | | `advertiser_id not found` | The advertiser does not exist. | | `advertiser_id is not associated with the agency` | Your key cannot access this advertiser. | | `agency_id must be a valid integer` | `agency_id` is not a number. | | `agency_id is not associated with the API key portfolio` | Your key cannot access this agency. | ### Metrics Calculated metrics are rounded to 3 decimal places. A metric is `0` when its denominator is `0`. | Metric | Formula | | - | - | | `ctr` | clicks × 100 / impressions | | `cpm` | total\_spend × 1000 / impressions | | `cpc` | total\_spend / clicks | | `cpa` | total\_spend / total\_conversions | | `cpv` | total\_spend / impressions | | `cpv_video` | total\_spend / video\_audio\_views | | `cpcv_video` | total\_spend / video\_audio\_complete | | `vcr` | video\_audio\_complete × 100 / video\_audio\_views | | `roas` | total\_revenue / total\_spend | | `frequency` | impressions / reach | # Campaign Performance Source: https://docs.growthchannel.com/api-reference/public/getCampaignPerformance GET /performance/?date_from={date_from}&date_to={date_to} Get daily performance data for each campaign. > [!WARNING] > > Maximum date range 365 days > [!NOTE] > > This endpoint is protected and requires an agency API key for access. ```bash Request theme={null} curl --request GET \ --url 'https://api.growthchannel.io/performance/?date_from=2026-01-01&date_to=2026-01-03' \ --header 'X-Api-Key: YOUR_API_KEY' ``` ```bash One advertiser theme={null} curl --request GET \ --url 'https://api.growthchannel.io/performance/?date_from=2026-01-01&date_to=2026-01-03&advertiser_id=544' \ --header 'X-Api-Key: YOUR_API_KEY' ``` > **Method** > > `GET` > **Endpoint** > > `/performance/` Returns one row per campaign per day, sorted by impressions (highest first). All rows are returned in one response. ## Headers **X-Api-Key** `string` *required* The agency's API key for authorization. Contact an admin to get one. ## Parameters **date\_from** `string` *required* Start date in `YYYY-MM-DD` format. **date\_to** `string` *required* End date in `YYYY-MM-DD` format. **advertiser\_id** `integer` Return data for one advertiser only. Omit to get all advertisers accessible to your key. **agency\_id** `integer` Return data for one agency only. It must be your agency or an agency in your portfolio. ## Responses **200 OK** ```json theme={null} { "data": [ { "date": "2026-01-02", "campaign_name": "Name | Name2 | 11111", "impressions": 208, "reach": 150, "frequency": 1.387, "clicks": 1, "total_conversions": 0, "engagements": 0, "video_audio_views": 0, "video_audio_complete": 0, "total_revenue": 0.0, "total_spend": 0.909, "cpm": 4.37, "cpc": 0.909, "cpa": 0.0, "cpv": 0.004, "cpv_video": 0.0, "cpcv_video": 0.0, "roas": 0.0, "matched_bid_opp": 393941, "vcr": 0.0, "ctr": 0.481, "campaign_ids": { "growth": [11111] }, "advertiser_ids": { "growth": [544] } } ], "pagination": { "total_records": 100, "total_pages": 5 }, "parameters": { "date_from": "2026-01-01", "date_to": "2026-01-03", "agency_ids": [101], "advertiser_id": 544 } } ``` **data** `array` An array of campaign performance objects, one per campaign per day. **object** **date** `string` The day, in `YYYY-MM-DD` format. **campaign\_name** `string` The campaign name. **impressions** `integer` Number of impressions. **reach** `integer` Number of unique users reached. **frequency** `number` Impressions / reach. **clicks** `integer` Number of clicks. **total\_conversions** `integer` Number of conversions. **engagements** `integer` Number of engagements. **video\_audio\_views** `integer` Number of video or audio views. **video\_audio\_complete** `integer` Number of completed video or audio views. **total\_revenue** `number` Conversion revenue. **total\_spend** `number` Spend. **matched\_bid\_opp** `integer` Number of matched bid opportunities. **cpm, cpc, cpa, cpv, cpv\_video, cpcv\_video, roas, vcr, ctr** `number` Calculated metrics. See [Metrics](/api-reference/introduction#metrics). **campaign\_ids** `object` The campaign ID, as `{"growth": [id]}`. **advertiser\_ids** `object` The advertiser ID, as `{"growth": [id]}`. **pagination** `object` An object containing the record count. **object** **total\_records** `integer` The total number of records found. **total\_pages** `integer` The number of 20-row pages the records would fill. All records are returned in `data`. **parameters** `object` The parameters used for the request. **object** **date\_from** `string` Start date. **date\_to** `string` End date. **agency\_ids** `integer[]` The agencies included in the report. **advertiser\_id** `integer` The advertiser included in the report. Present only when the report covers one advertiser. **400 Bad Request** Returned if a parameter is missing or invalid. See [Errors](/api-reference/introduction#errors) for all messages. ```json theme={null} { "error": { "code": "VALIDATION_ERROR", "message": "Missing required parameters", "details": { "missing_fields": ["date_from", "date_to"] }, "request_id": "..." } } ``` ```json theme={null} { "error": { "code": "VALIDATION_ERROR", "message": "advertiser_id is not associated with the agency", "details": { "advertiser_id": 544 }, "request_id": "..." } } ``` **401 Unauthorized** Returned if the `X-Api-Key` header is missing or invalid. ```json theme={null} { "error": { "code": "UNAUTHORIZED", "message": "Invalid API key", "details": { "field": "X-Api-Key", "issue": "invalid" }, "request_id": "..." } } ``` **500 Internal Server Error** Returned if there is an unexpected error on the server while fetching data. # Conversion Report Source: https://docs.growthchannel.com/api-reference/public/getConversionPerformance GET /conversion/?date_from={date_from}&date_to={date_to} Get conversion-level performance data. > [!WARNING] > > Maximum date range 365 days > [!NOTE] > > This endpoint is protected and requires an agency API key for access. ```bash Request theme={null} curl --request GET \ --url 'https://api.growthchannel.io/conversion/?date_from=2026-04-08&date_to=2026-04-14&advertiser_id=123456' \ --header 'X-Api-Key: YOUR_API_KEY' ``` ```bash Request with optional filters theme={null} curl --request GET \ --url 'https://api.growthchannel.io/conversion/?date_from=2026-04-08&date_to=2026-04-14&advertiser_id=123456&page=1&sort_column=date&sort_order=DESC&with_deduplication=true&campaign_id=10001&search=spring' \ --header 'X-Api-Key: YOUR_API_KEY' ``` > **Method** > > `GET` > **Endpoint** > > `/conversion/` ## Headers **X-Api-Key** `string` *required* The agency API key used for authorization. ## Parameters > [!NOTE] > > Only `date_from` and `date_to` are required. If you do not need an optional parameter, omit it entirely instead of sending an empty value (for example, avoid `page=`). **date\_from** `string` *required* Start date in `YYYY-MM-DD` format. **date\_to** `string` *required* End date in `YYYY-MM-DD` format. **advertiser\_id** `integer` Return data for one advertiser only. Omit to get all advertisers accessible to your key. **agency\_id** `integer` Return data for one agency only. It must be your agency or an agency in your portfolio. **campaign\_id** `integer` Return data for one campaign only. **search** `string` Free-text filter. Matches part of the campaign name, domain, or transaction ID (case-insensitive). **sort\_column** `string` (default: date) Column to sort by. One of: `date`, `our_advertiser_id`, `our_campaign_id`, `campaign_name`, `impressions`, `clicks`, `total_spend`, `transaction_id`, `domain`, `conversion_tracker`, `device`, `conversion_time`, `last_click_time`, `last_impression_time`, `conversions`. **sort\_order** `string` (default: DESC) Sort direction: `ASC` or `DESC`. **page** `integer` (default: 0) Page number, starting at `1`. Each page has 20 rows. Omit or send `0` to get all rows. **with\_deduplication** `boolean` (default: true) Deduplicate conversions. Send `false` to turn it off. ## Responses > [!NOTE] > > This endpoint wraps its result in a `status` / `part_error` / `data` envelope. Other reports return `data` and `pagination` at the top level. **200 OK** ```json theme={null} { "status": "success", "part_error": {}, "data": { "data": [ { "date": "2026-04-14", "our_advertiser_id": 123456, "our_campaign_id": 10001, "campaign_name": "Sample Q2 Brand Awareness - EN", "impressions": 12540, "clicks": 212, "total_spend": 184.37, "transaction_id": "TXN-EXAMPLE-0001", "domain": "example-news.com", "conversion_tracker": "offsite_conversion.example_purchase", "device": "WEB", "conversion_time": "2026-04-14 09:24:10", "last_click_time": "2026-04-14 09:21:02", "last_impression_time": "2026-04-14 09:20:44", "conversions": 3 }, { "date": "2026-04-08", "our_advertiser_id": 123456, "our_campaign_id": 10002, "campaign_name": "Sample Retargeting - Mobile App", "impressions": "-", "clicks": "-", "total_spend": 320.11, "transaction_id": "TXN-EXAMPLE-0002", "domain": "social-app", "conversion_tracker": "offsite_conversion.example_signup", "device": "APP", "conversion_time": "2026-04-08 00:00:00", "last_click_time": null, "last_impression_time": null, "conversions": 6145 } ], "pagination": { "current_page": 1, "total_pages": 5, "total_count": 89 } } } ``` **status** `string` Request status value. **part\_error** `object` Partial error container; empty when no partial issues occur. **data** `object` Response payload object. **object** **data** `array` List of conversion-level records. **object** **date** `string` The day of the conversion. **our\_advertiser\_id** `integer` The advertiser ID. **our\_campaign\_id** `integer` The campaign ID. **campaign\_name** `string` The campaign name. **impressions** `integer | string` Number of impressions. For Meta campaigns this is `"-"`, because Meta does not report impressions at this level. **clicks** `integer | string` Number of clicks. For Meta campaigns this is `"-"`. **total\_spend** `number` Spend. **transaction\_id** `string` The conversion transaction ID. **domain** `string` The domain or app where the conversion was attributed. **conversion\_tracker** `string` The conversion tracker name. **device** `string` The environment, for example `WEB` or `APP`. **conversion\_time** `string` When the conversion happened. **last\_click\_time** `string | null` The last click before the conversion. **last\_impression\_time** `string | null` The last impression before the conversion. **conversions** `integer` Number of conversions. **pagination** `object` Pagination metadata. **object** **current\_page** `integer` The requested page. `0` when all rows are returned. **total\_pages** `integer` Total number of 20-row pages. **total\_count** `integer` Total number of records. **400 Bad Request** Returned if a parameter is missing or invalid. See [Errors](/api-reference/introduction#errors) for all messages. ```json theme={null} { "error": { "code": "VALIDATION_ERROR", "message": "Missing required parameters", "details": { "missing_fields": ["date_from", "date_to"] }, "request_id": "..." } } ``` Returned if `sort_column` or `sort_order` is not one of the allowed values. ```json theme={null} { "error": { "code": "VALIDATION_ERROR", "message": "Invalid sort_column: revenue", "details": { "sort_column": "revenue" }, "request_id": "..." } } ``` **401 Unauthorized** Returned if the `X-Api-Key` header is missing or invalid. ```json theme={null} { "error": { "code": "UNAUTHORIZED", "message": "Invalid API key", "details": { "field": "X-Api-Key", "issue": "invalid" }, "request_id": "..." } } ``` **500 Internal Server Error** Returned if there is an unexpected error on the server while fetching data. # Creative Report Source: https://docs.growthchannel.com/api-reference/public/getCreativePerformance GET /creative/?date_from={date_from}&date_to={date_to} Get creative performance data aggregated by creative name. > [!WARNING] > > Maximum date range 365 days > [!NOTE] > > This endpoint is protected and requires an agency API key for access. ```bash Request theme={null} curl --request GET \ --url 'https://api.growthchannel.io/creative/?date_from=2026-01-01&date_to=2026-01-07&advertiser_id=544' \ --header 'X-Api-Key: YOUR_API_KEY' ``` ```bash Request with optional filters theme={null} curl --request GET \ --url 'https://api.growthchannel.io/creative/?date_from=2026-01-01&date_to=2026-01-07&advertiser_id=544&with_campaign=true&search=banner&sort_column=ctr&sort_order=DESC&page=1' \ --header 'X-Api-Key: YOUR_API_KEY' ``` > **Method** > > `GET` > **Endpoint** > > `/creative/` ## Headers **X-Api-Key** `string` *required* The agency's API key for authorization. Contact an admin to get one. ## Parameters **date\_from** `string` *required* Start date in `YYYY-MM-DD` format. **date\_to** `string` *required* End date in `YYYY-MM-DD` format. **advertiser\_id** `integer` Return data for one advertiser only. Omit to get all advertisers accessible to your key. **agency\_id** `integer` Return data for one agency only. It must be your agency or an agency in your portfolio. **campaign\_id** `integer` Return data for one campaign only. **with\_campaign** `boolean` (default: false) Split each creative by campaign and add `campaign_ids` to each row. Accepts `true`/`false`, `1`/`0`, `yes`/`no`. **search** `string` Filter by part of the creative name (case-insensitive). **sort\_column** `string` (default: impressions) Column to sort by. One of: `creative_name`, `impressions`, `clicks`, `total_conversions`, `engagements`, `video_audio_views`, `video_audio_complete`, `total_revenue`, `total_spend`, `cpm`, `cpc`, `cpa`, `cpv`, `cpv_video`, `cpcv_video`, `roas`, `ctr`, `vcr`. **sort\_order** `string` (default: DESC) Sort direction: `ASC` or `DESC` (case-insensitive). **page** `integer` (default: 0) Page number, starting at `1`. Each page has 20 rows. Omit or send `0` to get all rows. ## Responses **200 OK** ```json theme={null} { "data": [ { "creative_name": "Spring Banner 300x250", "impressions": 208, "clicks": 1, "total_conversions": 0, "engagements": 0, "video_audio_views": 0, "video_audio_complete": 0, "total_revenue": 0.0, "total_spend": 0.909, "cpm": 4.37, "cpc": 0.909, "cpa": 0.0, "cpv": 0.004, "cpv_video": 0.0, "cpcv_video": 0.0, "roas": 0.0, "ctr": 0.481, "vcr": 0.0, "campaign_ids": { "growth": [11111] } } ], "pagination": { "current_page": 1, "total_pages": 5, "total_count": 100 }, "with_campaign": true, "search": "banner" } ``` **data** `array` An array of creative performance objects. **object** **creative\_name** `string` The creative name. **impressions, clicks, total\_conversions, engagements, video\_audio\_views, video\_audio\_complete** `integer` Delivery counts. **total\_revenue, total\_spend** `number` Conversion revenue and spend. **cpm, cpc, cpa, cpv, cpv\_video, cpcv\_video, roas, ctr, vcr** `number` Calculated metrics. See [Metrics](/api-reference/introduction#metrics). **campaign\_ids** `object` The campaign ID, as `{"growth": [id]}`. Present only when `with_campaign=true`. **pagination** `object` An object containing pagination details. **object** **current\_page** `integer` The requested page. `0` when all rows are returned. **total\_pages** `integer` Total number of 20-row pages. **total\_count** `integer` Total number of records. **with\_campaign** `boolean` The `with_campaign` value used for the request. **search** `string | null` The `search` value used for the request. **400 Bad Request** Returned if a parameter is missing or invalid. See [Errors](/api-reference/introduction#errors) for all messages. ```json theme={null} { "error": { "code": "VALIDATION_ERROR", "message": "Missing required parameters", "details": { "missing_fields": ["date_from", "date_to"] }, "request_id": "..." } } ``` Returned if `sort_column` or `sort_order` is not one of the allowed values. ```json theme={null} { "error": { "code": "VALIDATION_ERROR", "message": "Invalid sort_column: reach", "details": { "sort_column": "reach" }, "request_id": "..." } } ``` **401 Unauthorized** Returned if the `X-Api-Key` header is missing or invalid. ```json theme={null} { "error": { "code": "UNAUTHORIZED", "message": "Invalid API key", "details": { "field": "X-Api-Key", "issue": "invalid" }, "request_id": "..." } } ``` **500 Internal Server Error** Returned if there is an unexpected error on the server while fetching data. # Daily Auction Source: https://docs.growthchannel.com/api-reference/public/getDailyAuction GET /daily-auction/?date_from={date_from}&date_to={date_to}&advertiser_id={advertiser_id}&response_format={response_format} Get daily delivery, spend, and budget for each campaign of an advertiser. > [!WARNING] > > Maximum date range 365 days > [!NOTE] > > This endpoint is protected and requires an agency API key for access. ```bash JSON theme={null} curl --request GET \ --url 'https://api.growthchannel.io/daily-auction/?date_from=2026-01-01&date_to=2026-01-03&advertiser_id=544&response_format=json' \ --header 'X-Api-Key: YOUR_API_KEY' ``` ```bash CSV theme={null} curl --request GET \ --url 'https://api.growthchannel.io/daily-auction/?date_from=2026-01-01&date_to=2026-01-03&advertiser_id=544' \ --header 'X-Api-Key: YOUR_API_KEY' ``` > **Method** > > `GET` > **Endpoint** > > `/daily-auction/` ## Headers **X-Api-Key** `string` *required* The agency's API key for authorization. Contact an admin to get one. ## Parameters **date\_from** `string` *required* Start date in `YYYY-MM-DD` format. **date\_to** `string` *required* End date in `YYYY-MM-DD` format. **advertiser\_id** `integer` *required* The advertiser to report on. Unlike other reports, this parameter is required. **agency\_id** `integer` The agency of the advertiser. Optional. It must be your agency or an agency in your portfolio. **response\_format** `string` (default: csv) Output format: `csv` or `json`. ## Responses Returns one row per campaign per day, sorted by impressions (highest first). The response is not paginated. **200 OK JSON** With `response_format=json`, the response is a JSON array of rows. ```json theme={null} [ { "campaign_id": 11111, "campaign_name": "Name | Name | 11", "impressions": 194, "clicks": 3, "spend": 0.65, "budget": 1704.66, "matched_bid_opp": 1096, "date": "2026-01-02" } ] ``` **campaign\_id** `integer` The campaign ID. **campaign\_name** `string` The campaign name. **impressions** `integer` Number of impressions. **clicks** `integer` Number of clicks. **spend** `number` Spend for the day, rounded to 2 decimal places. **budget** `number` The campaign budget, rounded to 2 decimal places. **matched\_bid\_opp** `integer` Estimated number of matched bid opportunities, derived from impressions. **date** `string` The day, in `YYYY-MM-DD` format. **200 OK CSV** With `response_format=csv` (the default), the response is CSV text with a header row and the same columns. If there is no data, the body is empty. ```text theme={null} campaign_id,campaign_name,impressions,clicks,spend,budget,matched_bid_opp,date 11111,Name | Name | 11,194,3,0.65,1704.66,1096,2026-01-02 ``` **400 Bad Request** Returned if a parameter is missing or invalid. See [Errors](/api-reference/introduction#errors) for all messages. ```json theme={null} { "error": { "code": "VALIDATION_ERROR", "message": "Missing required parameters", "details": { "missing_fields": ["advertiser_id"] }, "request_id": "..." } } ``` Returned if the date range between `date_from` and `date_to` exceeds 365 days. ```json theme={null} { "error": { "code": "VALIDATION_ERROR", "message": "Date range cannot exceed 365 days", "details": { "date_from": "2025-01-01", "date_to": "2026-06-01", "date_range": 516, "max_allowed": 365 }, "request_id": "4cf3fd6c-b2a8-483d-bb50-f51255c4943c" } } ``` Returned if `response_format` is not `csv` or `json`. ```json theme={null} { "error": { "code": "VALIDATION_ERROR", "message": "Unsupported response_format: must be 'json' or 'csv'", "details": { "response_format": "xml", "valid_options": ["json", "csv"] }, "request_id": "..." } } ``` **401 Unauthorized** Returned if the `X-Api-Key` header is missing or invalid. ```json theme={null} { "error": { "code": "UNAUTHORIZED", "message": "Invalid API key", "details": { "field": "X-Api-Key", "issue": "invalid" }, "request_id": "..." } } ``` **500 Internal Server Error** Returned if there is an unexpected error on the server while fetching data. # Domain Report Source: https://docs.growthchannel.com/api-reference/public/getDomainPerformance GET /domain/?date_from={date_from}&date_to={date_to} Get performance data aggregated by site domain or app. > [!WARNING] > > Maximum date range 365 days > [!NOTE] > > This endpoint is protected and requires an agency API key for access. ```bash Request theme={null} curl --request GET \ --url 'https://api.growthchannel.io/domain/?date_from=2026-01-01&date_to=2026-01-07&advertiser_id=544' \ --header 'X-Api-Key: YOUR_API_KEY' ``` ```bash Apps only theme={null} curl --request GET \ --url 'https://api.growthchannel.io/domain/?date_from=2026-01-01&date_to=2026-01-07&advertiser_id=544&domain_type=APP&page=1' \ --header 'X-Api-Key: YOUR_API_KEY' ``` > **Method** > > `GET` > **Endpoint** > > `/domain/` ## Headers **X-Api-Key** `string` *required* The agency's API key for authorization. Contact an admin to get one. ## Parameters **date\_from** `string` *required* Start date in `YYYY-MM-DD` format. **date\_to** `string` *required* End date in `YYYY-MM-DD` format. **advertiser\_id** `integer` Return data for one advertiser only. Omit to get all advertisers accessible to your key. **agency\_id** `integer` Return data for one agency only. It must be your agency or an agency in your portfolio. **campaign\_id** `integer` Return data for one campaign only. **domain\_type** `string` Return only websites (`WEB`) or only apps (`APP`). Case-insensitive. Omit to get both. **sort\_column** `string` (default: impressions) Column to sort by. One of: `site_domain`, `app_name`, `env_type`, `impressions`, `clicks`, `total_conversions`, `video_audio_views`, `video_audio_complete`, `total_revenue`, `total_spend`, `cpm`, `cpc`, `cpa`, `cpv`, `cpv_video`, `cpcv_video`, `roas`, `vcr`, `ctr`. **sort\_order** `string` (default: DESC) Sort direction: `ASC` or `DESC` (case-insensitive). **page** `integer` (default: 0) Page number, starting at `1`. Each page has 20 rows. Omit or send `0` to get all rows. ## Responses **200 OK** ```json theme={null} { "data": [ { "site_domain": "example.com", "app_name": null, "env_type": "WEB", "impressions": 1200, "clicks": 45, "total_conversions": 3, "video_audio_views": 300, "video_audio_complete": 190, "total_revenue": 120.3, "total_spend": 56.0, "cpm": 46.667, "cpc": 1.244, "cpa": 18.667, "cpv": 0.047, "cpv_video": 0.187, "cpcv_video": 0.295, "roas": 2.148, "vcr": 63.333, "ctr": 3.75 } ], "pagination": { "current_page": 1, "total_pages": 5, "total_count": 100 } } ``` **data** `array` An array of domain performance objects. **object** **site\_domain** `string | null` The website domain. **app\_name** `string | null` The app name, for app inventory. **env\_type** `string` The environment: `WEB` or `APP`. **impressions, clicks, total\_conversions, video\_audio\_views, video\_audio\_complete** `integer` Delivery counts. **total\_revenue, total\_spend** `number` Conversion revenue and spend. **cpm, cpc, cpa, cpv, cpv\_video, cpcv\_video, roas, vcr, ctr** `number` Calculated metrics. See [Metrics](/api-reference/introduction#metrics). **pagination** `object` An object containing pagination details. **object** **current\_page** `integer` The requested page. `0` when all rows are returned. **total\_pages** `integer` Total number of 20-row pages. **total\_count** `integer` Total number of records. **400 Bad Request** Returned if a parameter is missing or invalid. See [Errors](/api-reference/introduction#errors) for all messages. ```json theme={null} { "error": { "code": "VALIDATION_ERROR", "message": "Missing required parameters", "details": { "missing_fields": ["date_from", "date_to"] }, "request_id": "..." } } ``` Returned if `sort_column` or `sort_order` is not one of the allowed values. ```json theme={null} { "error": { "code": "VALIDATION_ERROR", "message": "Invalid sort_column: domain", "details": { "sort_column": "domain" }, "request_id": "..." } } ``` **401 Unauthorized** Returned if the `X-Api-Key` header is missing or invalid. ```json theme={null} { "error": { "code": "UNAUTHORIZED", "message": "Invalid API key", "details": { "field": "X-Api-Key", "issue": "invalid" }, "request_id": "..." } } ``` **500 Internal Server Error** Returned if there is an unexpected error on the server while fetching data. # Geo Report Source: https://docs.growthchannel.com/api-reference/public/getGeoPerformance GET /geo/?date_from={date_from}&date_to={date_to} Get geographic performance data aggregated by location. > [!WARNING] > > Maximum date range 365 days > [!NOTE] > > This endpoint is protected and requires an agency API key for access. ```bash Country-level report theme={null} curl --request GET \ --url 'https://api.growthchannel.io/geo/?date_from=2026-01-01&date_to=2026-01-07&advertiser_id=544&breakout=country' \ --header 'X-Api-Key: YOUR_API_KEY' ``` ```bash Region-level report theme={null} curl --request GET \ --url 'https://api.growthchannel.io/geo/?date_from=2026-01-01&date_to=2026-01-07&advertiser_id=544&breakout=region' \ --header 'X-Api-Key: YOUR_API_KEY' ``` ```bash Zip code-level report theme={null} curl --request GET \ --url 'https://api.growthchannel.io/geo/?date_from=2026-01-01&date_to=2026-01-07&advertiser_id=544&breakout=zip_code' \ --header 'X-Api-Key: YOUR_API_KEY' ``` ```bash Daily country report theme={null} curl --request GET \ --url 'https://api.growthchannel.io/geo/?date_from=2026-01-01&date_to=2026-01-07&advertiser_id=544&breakout=country&with_date=true' \ --header 'X-Api-Key: YOUR_API_KEY' ``` > **Method** > > `GET` > **Endpoint** > > `/geo/` ## Headers **X-Api-Key** `string` *required* The agency's API key for authorization. Contact an admin to get one. ## Parameters **date\_from** `string` *required* Start date in `YYYY-MM-DD` format. **date\_to** `string` *required* End date in `YYYY-MM-DD` format. **advertiser\_id** `integer` Return data for one advertiser only. Omit to get all advertisers accessible to your key. **agency\_id** `integer` Return data for one agency only. It must be your agency or an agency in your portfolio. **campaign\_id** `integer` Return data for one campaign only. **breakout** `string` (default: country) Geographic breakdown level: `country`, `region`, or `zip_code`. **with\_date** `boolean` (default: false) Return one row per location per day, with a `date` field. Accepts `true`/`false`, `1`/`0`, `yes`/`no`. **page** `integer` (default: 0) Page number, starting at `1`. Each page has 20 rows. Omit or send `0` to get all rows. ## Breakout Options The `breakout` parameter determines the level of geographic detail in the report. * `country`: Aggregates data by country. * `region`: Aggregates data by state or region. * `zip_code`: Aggregates data by postal code. ## Sorting Rows are sorted by impressions (highest first). With `with_date=true`, rows are sorted by date (oldest first), then by impressions. This report does not accept `sort_column`, `sort_order`, or `search`. ## Responses **200 OK Country** ```json theme={null} { "data": [ { "country": "US", "impressions": 1000, "clicks": 50, "total_conversions": 0, "video_audio_views": 0, "video_audio_complete": 0, "total_revenue": 0.0, "total_spend": 5.126, "cpm": 5.126, "cpc": 0.103, "cpa": 0.0, "cpv": 0.005, "cpv_video": 0.0, "cpcv_video": 0.0, "roas": 0.0, "vcr": 0.0, "ctr": 5.0 } ], "pagination": { "current_page": 1, "total_pages": 5, "total_count": 100 }, "breakout": "country", "with_date": false } ``` **data** `array` An array of geographic performance objects. The location keys depend on `breakout`: `country`; `country` and `region`; or `country` and `zip_code`. With `with_date=true`, each row starts with `date`. **object** **date** `string` The day. Present only when `with_date=true`. **country** `string` Country code. **region** `string` State or region. Present only when `breakout=region`. **zip\_code** `string` Postal code. Present only when `breakout=zip_code`. **impressions, clicks, total\_conversions, video\_audio\_views, video\_audio\_complete** `integer` Delivery counts. **total\_revenue, total\_spend** `number` Conversion revenue and spend. **cpm, cpc, cpa, cpv, cpv\_video, cpcv\_video, roas, vcr, ctr** `number` Calculated metrics. See [Metrics](/api-reference/introduction#metrics). **pagination** `object` An object containing pagination details. **object** **current\_page** `integer` The requested page. `0` when all rows are returned. **total\_pages** `integer` Total number of 20-row pages. **total\_count** `integer` Total number of records. **breakout** `string` The `breakout` value used for the request. **with\_date** `boolean` The `with_date` value used for the request. **200 OK Region** ```json theme={null} { "data": [ { "country": "US", "region": "Illinois", "impressions": 1000, "clicks": 50, "total_conversions": 0, "video_audio_views": 0, "video_audio_complete": 0, "total_revenue": 0.0, "total_spend": 5.126, "cpm": 5.126, "cpc": 0.103, "cpa": 0.0, "cpv": 0.005, "cpv_video": 0.0, "cpcv_video": 0.0, "roas": 0.0, "vcr": 0.0, "ctr": 5.0 } ], "pagination": { "current_page": 1, "total_pages": 5, "total_count": 100 }, "breakout": "region", "with_date": false } ``` **200 OK Zip Code** ```json theme={null} { "data": [ { "country": "US", "zip_code": "60074", "impressions": 1000, "clicks": 50, "total_conversions": 0, "video_audio_views": 0, "video_audio_complete": 0, "total_revenue": 0.0, "total_spend": 5.126, "cpm": 5.126, "cpc": 0.103, "cpa": 0.0, "cpv": 0.005, "cpv_video": 0.0, "cpcv_video": 0.0, "roas": 0.0, "vcr": 0.0, "ctr": 5.0 } ], "pagination": { "current_page": 1, "total_pages": 5, "total_count": 100 }, "breakout": "zip_code", "with_date": false } ``` **200 OK Daily** ```json theme={null} { "data": [ { "date": "2026-01-01", "country": "US", "impressions": 400, "clicks": 20, "total_conversions": 0, "video_audio_views": 0, "video_audio_complete": 0, "total_revenue": 0.0, "total_spend": 2.05, "cpm": 5.125, "cpc": 0.103, "cpa": 0.0, "cpv": 0.005, "cpv_video": 0.0, "cpcv_video": 0.0, "roas": 0.0, "vcr": 0.0, "ctr": 5.0 } ], "pagination": { "current_page": 0, "total_pages": 1, "total_count": 7 }, "breakout": "country", "with_date": true } ``` **400 Bad Request** Returned if a parameter is missing or invalid. See [Errors](/api-reference/introduction#errors) for all messages. ```json theme={null} { "error": { "code": "VALIDATION_ERROR", "message": "Invalid breakout parameter", "details": { "breakout": "city", "valid_options": ["country", "region", "zip_code"] }, "request_id": "..." } } ``` ```json theme={null} { "error": { "code": "VALIDATION_ERROR", "message": "with_date must be a boolean (true/false, 1/0, yes/no)", "details": { "with_date": "daily" }, "request_id": "..." } } ``` **401 Unauthorized** Returned if the `X-Api-Key` header is missing or invalid. ```json theme={null} { "error": { "code": "UNAUTHORIZED", "message": "Invalid API key", "details": { "field": "X-Api-Key", "issue": "invalid" }, "request_id": "..." } } ``` **500 Internal Server Error** Returned if there is an unexpected server error. # Public API-KEY Source: https://docs.growthchannel.com/api-reference/public/getHintApiKey GET /keys/hint/?agency_id={agency_id} > [!NOTE] > > An `X-Api-Key` is required to authenticate requests to all other public endpoints. > This endpoint does not need a key. It returns a hint (the last 4 characters) of the agency's active key so you can check which key is in use. > **Method** > > `GET` > **Endpoint** > > `/keys/hint/` ```bash Request theme={null} curl --request GET \ --url 'https://api.growthchannel.io/keys/hint/?agency_id=544' ``` ## Parameters **agency\_id** `integer` *required* The unique identifier for the agency `?agency_id=544` ## Responses **200 OK** ```json theme={null} { "key_hint": "aY5Q" } ``` **key\_hint** `string` The last 4 characters of the agency's active API key. **400 Bad Request** Returned if `agency_id` is missing. ```json theme={null} { "error": { "code": "VALIDATION_ERROR", "message": "agency_id is required", "details": { "field": "agency_id", "issue": "missing" }, "request_id": "..." } } ``` **404 Not Found** Returned if the agency does not exist. ```json theme={null} { "error": { "code": "NOT_FOUND", "message": "Agency not found", "details": { "field": "agency_id", "value": "544" }, "request_id": "4b7bd3b3-21fa-47ae-8369-78e658408a51" } } ``` Returned if the agency has no active API key. ```json theme={null} { "error": { "code": "NOT_FOUND", "message": "No active API key found for this agency", "details": { "field": "agency_id", "value": "544" }, "request_id": "..." } } ``` # Conversion Postback Source: https://docs.growthchannel.com/api-reference/public/postGrowthChannelPostback POST /growth-channel-postback/ Send server-side conversion events to Growth Channel. > [!NOTE] > > This endpoint is protected and requires an agency API key for access. ```bash Request theme={null} curl --request POST \ --url 'https://api.growthchannel.io/growth-channel-postback/' \ --header 'Content-Type: application/json' \ --header 'X-Api-Key: YOUR_API_KEY' \ --data '{ "ref_id": "abc123xyz", "event_name": "user_converted", "revenue": 123, "conversion_data": { "order_id": "order_98765", "lead_source": "callrail" } }' ``` > **Method** > > `POST` > **Endpoint** > > `/growth-channel-postback/` ## Overview Use this endpoint to send server-side conversion events to Growth Channel. The client should capture a unique tracking ID from the campaign landing URL and send it back when a conversion happens. > [!NOTE] > > Send `ref_id` for every conversion. Add `event_name`, `revenue`, `tracker_id`, and `conversion_data` when you need more specific attribution or reporting metadata. ## Headers **X-Api-Key** `string` *required* The agency's API key for authorization. Contact an admin to get one. **Content-Type** `string` *required* `application/json`. Form-encoded bodies are also accepted. ## Body **ref\_id** `string` *required* Unique tracking ID captured from the landing page URL. **tracker\_id** `string` Conversion tracker ID when the conversion should be attributed to a specific tracker. **event\_name** `string` Name of the conversion event, for example `user_converted` or `phone_call`. **revenue** `number` Revenue amount for the conversion. **conversion\_data** `object` Additional metadata for the conversion, as key-value pairs. You can send any keys; values are sent as text. Empty values are ignored. The keys below are examples. **object** **order\_id** `string` Order or transaction identifier. **lead\_source** `string` Source associated with the lead or conversion. **call\_duration** `number` Call duration in seconds. **customer\_type** `string` Customer category or segment. ## Setup Guide **1. Add a tracking ID to the landing URL** Add a tracking ID macro to the campaign landing URL. ```text theme={null} https://example.com/track?ref_id={TRACKING_ID} ``` **2. Capture the tracking ID** Capture and store `ref_id` when the visitor lands on the site. **3. Send the conversion** When the user converts, send `ref_id` to this endpoint with optional `event_name`, `revenue`, and `conversion_data`. **4. Use a tracker when needed** Use `tracker_id` only when attribution should go to a specific conversion tracker. ## Example ```json theme={null} { "ref_id": "abc123xyz", "event_name": "user_converted", "revenue": 123, "conversion_data": { "order_id": "order_98765", "lead_source": "callrail" } } ``` ## Responses **200 OK** ```json theme={null} { "status": "ok", "provider_status": 200 } ``` **status** `string` `ok` when the conversion was accepted. **provider\_status** `integer` The HTTP status returned by the conversion provider. **400 Bad Request** Returned if the request body is invalid or `ref_id` is missing. `details.fields` lists the problem for each field. ```json theme={null} { "error": { "code": "VALIDATION_ERROR", "message": "Invalid conversion postback payload", "details": { "fields": { "ref_id": ["This field is required."] } }, "request_id": "..." } } ``` **401 Unauthorized** Returned if the `X-Api-Key` header is missing or invalid. ```json theme={null} { "error": { "code": "UNAUTHORIZED", "message": "X-Api-Key header required", "details": { "field": "X-Api-Key", "issue": "missing" }, "request_id": "..." } } ``` **502 Bad Gateway** Returned if the conversion provider could not be reached. You can retry the request. ```json theme={null} { "error": { "code": "CONVERSION_POSTBACK_UNREACHABLE", "message": "Conversion postback provider is unreachable", "details": { "ref_id": "abc123xyz" }, "request_id": "..." } } ``` Returned if the conversion provider rejected the conversion. ```json theme={null} { "error": { "code": "CONVERSION_POSTBACK_REJECTED", "message": "Conversion postback provider rejected the request", "details": { "ref_id": "abc123xyz", "provider_status": 400 }, "request_id": "..." } } ``` # Audience Search Source: https://docs.growthchannel.com/audience-search GET /audiences/search?search={search} Search the audience catalog by name and meaning, with optional geo, provider, size and CPM filters. > [!WARNING] > > Maximum 100 audiences per request > [!NOTE] > > This endpoint is protected and requires an agency API key for access. ```bash Request theme={null} curl --request GET \ --url 'https://api.growthchannel.io/audiences/search?search=Protein%20bar' \ --header 'X-Api-Key: YOUR_API_KEY' ``` ```bash With filters theme={null} curl --request GET \ --url 'https://api.growthchannel.io/audiences/search?search=Protein%20bar&limit=50&geo=US&min_size=10000&max_size=5000000' \ --header 'X-Api-Key: YOUR_API_KEY' ``` > **Method** > > `GET` > **Endpoint** > > `/audiences/search` ## Ranking Results are returned in three tiers: 1. **Phrase matches**: the audience name contains the search words in the same order, for example "Protein Bar Buyers" or "Protein-Bar Lovers". 2. **Word matches**: the audience name contains all search words in any order, for example "Bar Protein Fans". 3. **Similar audiences**: audiences close in meaning, for example "Energy Snacks". Name matching ignores case and word forms: `bars` matches "Bar", `buyer` matches "Buyers". Within each tier the most relevant audiences come first. Each audience appears only once. ## Headers **X-Api-Key** `string` *required* The agency's API key for authorization. Contact an admin to get one. ## Parameters **search** `string` *required* Text to search for, for example `Protein bar`. **limit** `integer` (default: 20) Maximum number of audiences to return, from `20` to `100`. Values below `20` are treated as `20`, values above `100` as `100`. **geo** `string` Return only audiences for this geo, for example `US`. Exact match. See [Audience Filters](/api-reference/audience-filters) for available values. **provider** `string` Return only audiences from this data provider. Exact match. See [Audience Filters](/api-reference/audience-filters) for available values. **min\_size** `integer` Minimum audience size. Applied only together with `max_size`. **max\_size** `integer` Maximum audience size. Applied only together with `min_size`. **min\_cpm** `number` Minimum CPM, for example `1.5`. Applied only together with `max_cpm`. **max\_cpm** `number` Maximum CPM. Applied only together with `min_cpm`. ## Responses **200 OK** ```json theme={null} { "data": [ { "audience_id": "101", "name": "Protein Bar Buyers", "taxonomy_path": "Food > Snacks > Protein Bars", "description": "Shoppers who bought protein bars in the last 90 days.", "geo": "US", "size": 1250000, "cpm": 1.5 }, { "audience_id": "102", "name": "Bar Protein Fans", "taxonomy_path": "Health & Fitness > Nutrition", "description": "Fitness enthusiasts interested in protein snacks.", "geo": "US", "size": 830000, "cpm": 1.25 } ] } ``` **data** `array` An array of audience objects in ranked order. Contains at most `limit` items, or fewer when the filters leave fewer audiences. **object** **audience\_id** `string` The audience identifier. **name** `string` The audience name. **taxonomy\_path** `string` The category path of the audience, for example `Food > Snacks`. **description** `string` The audience description. **geo** `string` The geo of the audience, for example `US`. **size** `integer` The audience size. **cpm** `number` The audience CPM. **400 Bad Request** Returned if `search` is missing. ```json theme={null} { "error": { "code": "VALIDATION_ERROR", "message": "search parameter is required.", "details": {}, "request_id": "..." } } ``` Returned if `min_size`, `max_size`, `min_cpm` or `max_cpm` is not a number. ```json theme={null} { "error": { "code": "VALIDATION_ERROR", "message": "Size and CPM params must be numbers.", "details": {}, "request_id": "..." } } ``` Returned if `limit` is not an integer. ```json theme={null} { "error": { "code": "VALIDATION_ERROR", "message": "limit param must be a number.", "details": {}, "request_id": "..." } } ``` **401 Unauthorized** Returned if the `X-Api-Key` header is missing or invalid. ```json theme={null} { "error": { "code": "UNAUTHORIZED", "message": "Invalid API key", "details": { "field": "X-Api-Key", "issue": "invalid" }, "request_id": "..." } } ``` **500 Internal Server Error** Returned if there is an unexpected error on the server while searching audiences. ```json theme={null} { "error": { "code": "INTERNAL_ERROR", "message": "Failed to search audiences", "details": {}, "request_id": "..." } } ``` # Audience Filters Source: https://docs.growthchannel.com/untitled-page GET /audiences/filters Get the available filter values for Audience Search: geos, providers, size and CPM ranges. > [!NOTE] > > This endpoint is protected and requires an agency API key for access. ```bash Request theme={null} curl --request GET \ --url 'https://api.growthchannel.io/audiences/filters' \ --header 'X-Api-Key: YOUR_API_KEY' ``` > **Method** > > `GET` > **Endpoint** > > `/audiences/filters` Use these values for the `geo`, `provider`, `min_size`, `max_size`, `min_cpm` and `max_cpm` parameters of [Audience Search](/api-reference/audience-search). ## Headers **X-Api-Key** `string` *required* The agency's API key for authorization. Contact an admin to get one. ## Parameters This endpoint has no parameters. ## Responses **200 OK** ```json theme={null} { "data": { "geos": ["CA", "GB", "US"], "providers": ["Provider A", "Provider B"], "min_size": 1000, "max_size": 250000000, "min_cpm": 0.25, "max_cpm": 6.5 } } ``` **data** `object` Available filter values across the whole audience catalog. **object** **geos** `array` All available geos, sorted alphabetically. Use one as the `geo` parameter. **providers** `array` All available data providers, sorted alphabetically. Use one as the `provider` parameter. **min\_size, max\_size** `integer | null` The smallest and largest audience size in the catalog. **min\_cpm, max\_cpm** `number | null` The lowest and highest audience CPM in the catalog. **401 Unauthorized** Returned if the `X-Api-Key` header is missing or invalid. ```json theme={null} { "error": { "code": "UNAUTHORIZED", "message": "X-Api-Key header required", "details": { "field": "X-Api-Key", "issue": "missing" }, "request_id": "..." } } ``` **500 Internal Server Error** Returned if there is an unexpected error on the server while fetching filters. ```json theme={null} { "error": { "code": "INTERNAL_ERROR", "message": "Failed to fetch audience filters", "details": {}, "request_id": "..." } } ```