Resources · API documentation

HTTPS in.
JSON out.

Everything the dashboard shows, the API serves: OpenRTB 2.6 auction endpoints, deal management and an analytics API that returns bid-level JSON. This page is the overview. Full endpoint references ship with your account.

1API key, all endpoints
2.6OpenRTB over HTTPS
JSONevery report, every call
A request and its response. A bid request goes out over HTTPS with the account key in a header; the seatbid comes back as JSON. Shapes shown here are illustrative.Illustrative

Authentication and environments

One key for
every endpoint.

There is no OAuth flow and no per-call signature. The key travels in a header, and the environment is in the base URL.

  1. Request an API key

    Ask your account manager, or write to demand@icarimedia.com. Keys are issued per account and per environment, and can be rotated from the dashboard.

    Sandbox and production keys

  2. Send it in a header

    Every call carries the key in an authorization header. One line. The request below shows the exact shape.

    Authorization: Bearer …

  3. Rehearse in the sandbox

    The sandbox mirrors production responses against test demand. Bid, lose, break things; nothing is billed or counted.

    Test demand only

  4. Move to production

    Same calls, different base URL, real demand. Your first live report is one GET away.

    Same shapes, real data

Endpoint families

Four families,
one base URL.

The full reference ships with your credentials. These are the four groups you will touch first.

Auction endpoints

OpenRTB 2.6, first price.

Send bid requests, read seatbid responses over HTTPS, the same objects your demand partners already speak, inside a real-time auction budget.

Deals

PMP invitations, PG commitments.

Create deal terms, read deal status and watch pacing. Deal IDs flow through the auction exactly as they do in the dashboard.

Analytics API

Saved reports or ad-hoc queries.

Run a saved report or send a query of your own and get bid-level JSON back. Every dimension the dashboard has (placement, geo, deal, bidder) is a field here.

Account and access

Keys, teams, limits.

Rotate keys, manage team access and read your documented per-account limits alongside your production base URLs.

One auction call

A bid request,
end to end.

Two calls carry the whole auction loop: the request that describes the impression, and the response that prices it. Both are shown exactly as they travel. The endpoint variable stands in for the host and path that come with your credentials.

POSTRequest: curl
curl -X POST "$ICARI_AUCTION_ENDPOINT" \
  -H "Authorization: Bearer $ICARI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "id": "req-8f2c11",
    "imp": [{ "id": "1", "banner": { "w": 728, "h": 90 } }],
    "site": { "domain": "news.example.com" },
    "cur": "USD"
  }'
200Response: JSON
HTTP/2 200

{
  "id": "req-8f2c11",
  "seatbid": [{
    "bid": [{
      "id": "bid-91aa",
      "impid": "1",
      "price": 4.21,
      "crid": "c-72890-a1"
    }],
    "seat": "dsp-d"
  }],
  "cur": "USD"
}
Illustrative samples. Production base URLs, schemas and field-level reference ship with your sandbox credentials.

When calls fail

The reason is
in the body.

Every non-200 response returns a JSON body with a stable code and a human-readable detail, enough to fix the call without opening a ticket. If a code repeats and the body does not explain it, support answers within two business days.

Error reference. Every non-200 response carries a stable code and a readable detail in the JSON body, enough to fix most calls without a ticket.Illustrative

Questions

API questions, answered.

Is there a separate docs site?

There is none. This page is the overview; the complete endpoint reference, schemas and error catalog ship with your API credentials, so they always match the environment you are calling.

What are the rate limits?

They are documented per account, alongside your keys, and sized to your reporting volume. If a production workload needs more headroom, your account manager raises it. The 429 response tells you the current window either way.

How fresh is the reporting data?

Reporting is real time. The Analytics API reads the same bid-level stream the dashboard does, so a query returns the current minute.

Which environments exist?

Two: sandbox and production. Same endpoints, same shapes, different base URLs and keys. The sandbox runs on test demand, so you can rehearse the full auction loop without touching live inventory.

API access

Get your key,
make the first call.

Write to us with your account name and what you are building. We issue sandbox keys and walk the first request with you.

Keys issued per account · sandbox and production · a reply within two business days