Skip to content

Developer Report Retrieval

1. Overview

The Carty Developer Platform provides the Developer Report Retrieval API, allowing developers to fetch report data via a server-side interface.
The API supports date-based statistics and paginated responses, making it convenient for data analysis, revenue reconciliation, and operational monitoring.


2. API Information

  • API Name: Developer Report Retrieval
  • Endpoint: /api/report/out-search
  • HTTP Method: POST
  • Encoding: UTF-8
  • Content-Type: application/json

2.1 Domain


3. Authentication (Authorization)

This API uses API Key authentication.

  • Request Header: Authorization
  • Example Value: rk_0jmtmwkz8grugecy1bp7syh4e6wgg4oa
  • How to Obtain: Retrieve it from the apikeys module in the system dashboard

⚠️ Please keep your API Key secure and do not expose it in public repositories.


4. Request Parameters

4.1 Header Parameters

ParameterRequiredTypeDescription
AuthorizationYesStringAPI Key
Content-TypeYesStringMust be application/json

4.2 Body Parameters (JSON)

ParameterRequiredTypeDescription
start_dateYesStringStart date, format: YYYY-MM-DD
end_dateYesStringEnd date, format: YYYY-MM-DD (must be ≥ start_date)
pageNoIntPage number, default is 1
page_sizeNoIntNumber of records per page, default is 10

Request Example

json
{
  "start_date": "2026-01-14",
  "end_date": "2026-01-14",
  "page": 1,
  "page_size": 10
}

5. Response Parameters

5.1 Response Structure

FieldTypeDescription
codeIntStatus code: 0 indicates success, non-0 indicates failure
messageStringResponse message
dataObjectData object

5.2 data.list Fields

FieldTypeDescription
dateStringDate (YYYY-MM-DD)
bid_typeIntBid type
requestIntNumber of requests
fillIntNumber of fills
impressionIntNumber of impressions
clickIntNumber of clicks
revenueNumberDeveloper revenue
click_rateNumberClick-through rate (%)
ecpmNumbereCPM
ecpcNumbereCPC
fill_rateNumberFill rate (%)
impression_rateNumberImpression rate (%)

5.3 data.page Fields

FieldTypeDescription
currentIntCurrent page
page_sizeIntRecords per page
totalIntTotal records

6. Response Example

json
{
  "code": 0,
  "message": "success",
  "data": {
    "list": [
      {
        "date": "2026-01-14",
        "bid_type": 2,
        "request": 473541,
        "fill": 288414,
        "impression": 164519,
        "click": 30095,
        "revenue": 470.74,
        "click_rate": 18.29,
        "ecpm": 2.86,
        "ecpc": 0.02,
        "fill_rate": 60.91,
        "impression_rate": 57.04
      }
    ],
    "page": {
      "current": 1,
      "page_size": 10,
      "total": 1
    }
  }
}

7. Request Example (curl)

bash
curl --location --request POST 'https://developer.gocarty.net/api/report/out-search' \
--header 'Authorization: rk_0jmtmwkz8grugecy1bp7syh4e6wgg4os' \
--header 'Content-Type: application/json' \
--data-raw '{
  "start_date": "2026-01-14",
  "end_date": "2026-01-14",
  "page": 1,
  "page_size": 10
}'

8. Error Code Description (Example)

CodeDescription
0success
Non-zeroParameter error / Authentication failure / System error

Common Error Scenarios

  • Missing or invalid Authorization header
  • Invalid date format or date range
  • Invalid page or page_size parameters