This article will cover the following:
When to use these endpoints:
Use these read-only Offers API endpoints to retrieve your full offer catalog, audit individual offer configurations, and look up the reference data needed before creating or updating offers.
Use these read-only Offers API endpoints to retrieve your full offer catalog, audit individual offer configurations, and look up the reference data needed before creating or updating offers.
Authentication: All CAKE API requests require your
api_key parameter. Find yours under Setup → System Access → API Keys.Part of a series: This focused guide is part of the complete CAKE API — Offers reference, which documents all available endpoints for this feature area.
Available Endpoints
Get Offers
Returns a list of offers matching the specified filter criteria. Use this endpoint to retrieve your full offer catalog, filter by status or vertical, or look up a specific offer by ID.
When to use: Sync CAKE offer data into a CRM, BI tool, or external dashboard; retrieve active offers before generating affiliate links.
GET /api/2/offers.json
| Parameter | Type | Required | Description |
|---|---|---|---|
| api_key | string | Yes | Your CAKE API key. |
| offer_id | integer | No | Filter to a single offer by its unique CAKE offer ID. |
| offer_status | string | No | Filter by status: active, paused, pending, expired. |
| vertical_id | integer | No | Filter offers belonging to a specific vertical. |
| tag_id | integer | No | Filter offers associated with a specific tag ID. |
| start_at_row | integer | No | Row offset for pagination. Defaults to 0. |
| row_limit | integer | No | Maximum records to return. Default 100, max 5000. |
| sort_field | string | No | Field to sort by (e.g. offer_name, offer_id). |
| sort_descending | boolean | No | Set true for descending sort. Default false. |
Sample request
GET https://yourdomain.cakemarketing.com/api/2/offers.json?api_key=YOUR_API_KEY&offer_status=active&vertical_id=3&row_limit=50&start_at_row=0&sort_field=offer_name&sort_descending=falseSample response
{
"request_status": "Success",
"response": {
"offers": [
{
"offer": {
"offer_id": 12345,
"offer_name": "Auto Insurance Quote - US",
"offer_status": "active",
"vertical": { "vertical_id": 3, "vertical_name": "Insurance" },
"advertiser": { "advertiser_id": 101, "advertiser_name": "SafeDrive Insurance Co." },
"offer_url": "https://safedrive.example.com/quote",
"payout": 18.50,
"payout_type": "CPA",
"revenue": 22.00,
"currency": "USD",
"session_hours": 24,
"expiration_date": "2026-12-31",
"tags": [{ "tag_id": 8, "tag_name": "auto" }]
}
}
],
"total_rows": 1
}
}
? Tip: Store returned
offer_id values as your primary key — offer names can change, but IDs are permanent.
You may also be interested in:
If you have any questions, please reach out to your dedicated CAKE Client Success Manager/Account Manager or contact the CAKE Support Team at support@getCAKE.com.