Skip to main content

Rewarded Offers API

Version 1.3 — added performance_d0, performance_d7, performance_d30 fields to offer objects. See the changelog for details.
The Rewarded Offers API enables you, as an authorised publisher, to programmatically fetch available and active rewarded offers — including mobile games and other app categories — and render them inside your own application or website. Unlike the IFrame Integration, the API gives you full control over the presentation layer while Prime Earn handles offer sourcing, reward logic, and attribution.
Who is this guide for? This document is intended for developers at partner publisher companies who wish to build a custom UI on top of our offer inventory. If you are looking for the no-code solution, refer to the IFrame Integration Guide.

Base URL

Keep your app token secret. Never expose it in client-side JavaScript, mobile app source code, or public repositories. If your token is compromised, contact your account manager immediately to have it rotated.

Endpoints


Request Parameters

All three endpoints share the same parameters. Each endpoint section below only lists parameters that are unique to that endpoint.

Required Parameters

Optional Parameters

The more user attributes you provide, the better the offer targeting and match quality. maid must always be passed when available. When you have both birthday and age, only send birthday — it is more precise.
Source & Network ID Reference Pass the numeric ID as the value for both source and network. Choose the row that best describes how the user arrived in your app.

Quick Start

A successful response returns HTTP 200:

GET /offers — List Available Offers

Returns all offers currently available for the given user to start.
Additional parameters (this endpoint only):

Response

For now, we support image creatives only. large_image_url is available today, and a dedicated video URL will be added in a future version.
array
List of available offer objects.

GET /offers/active — List Active Offers

Returns offers the user has already started (i.e. clicked and installed). Uses the same parameters as /offers — no additional parameters.

Response

For now, we support image creatives only. large_image_url may be null, and a dedicated video URL will be added in a future version.
array
List of active offer objects.

GET /offers/ — Get Offer Details

Returns full details for a single offer, including instructions and individual reward tasks.
Additional parameters (this endpoint only):

Response

object
Full offer details object.

Error Responses

VPN Detected

When a user’s IP is identified as coming from a VPN or proxy, the API returns HTTP 200 with result: "error" and type: "vpn_detected". Display an error in your UI and ask the user to disable their VPN before retrying.
Check result === "error" and type === "vpn_detected" before rendering the offers list. Prompt the user to turn off their VPN or proxy and try again.

User Support

You can direct users to Prime Earn’s support pages for help with offers or to submit a support ticket. Substitute your real app-key and the user’s external_user_id in the links below: The FAQ page automatically selects the language based on the user’s device locale.