How to Use the CAKE Offers API to Retrieve Offer Data

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.
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_keystringYesYour CAKE API key.
offer_idintegerNoFilter to a single offer by its unique CAKE offer ID.
offer_statusstringNoFilter by status: active, paused, pending, expired.
vertical_idintegerNoFilter offers belonging to a specific vertical.
tag_idintegerNoFilter offers associated with a specific tag ID.
start_at_rowintegerNoRow offset for pagination. Defaults to 0.
row_limitintegerNoMaximum records to return. Default 100, max 5000.
sort_fieldstringNoField to sort by (e.g. offer_name, offer_id).
sort_descendingbooleanNoSet 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=false

Sample 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.


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.

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.