Checking service

API reference

Spots, quotes, campaigns, boosts, serving, earnings and offers.

The API is plain JSON over HTTPS. The base URL is https://offers.kre8.fun today. It is a single setting and can move, so use the address the app shows. Money fields are dollar amounts as strings; USDC is only the settlement coin. The routes keep the service's original names (a Spot is /v1/placements).

Basics#

TopicDetail
FormatRequests and answers are JSON. Send content-type: application/json on posts.
Sign inRoutes marked Sign in need authorization: Bearer YOUR_GULLY_ID_TOKEN. A 401 means the session ended: sign in again.
Spot keyRoutes marked Spot key take your public key (pk_…); server-to-server calls are signed with the secret (sk_…).
ErrorsA failure is { "error": "plain sentence", "code": "short_code" } with a matching HTTP status. 400 is a bad request, 404 unknown, 422 refused by a rule, 429 too many requests.
Switched offAds can be off. Routes then answer 404, 501 or 503, or an empty list with a reason. Show an "opening soon" state; never invent numbers.
Test keysExamples use placeholders: pk_YOUR_SPOT_KEY, YOUR_GULLY_ID_TOKEN. There are no shared test keys; create your own Spot in the app.

Service state#

GET/v1/configPublic

What is switched on. ads: false means sponsor spots are not open yet.

Answer
json
{
  "chainId": 485590,
  "gullyId": { "issuer": "https://gullyid.xyz", "clientId": "gully-offerwall", "enabled": true },
  "asset": { "symbol": "USDC", "decimals": 6 },
  "ads": false
}
GET/v1/health/adsPublic

Whether ads are serving and, if not, why.

Answer
json
{ "ok": true, "enabled": true, "serving": true, "reason": null }
GET/v1/stats/networkPublic

Public totals across the network (hourly series).

Spots#

A Spot is where your offers and sponsors show.

POST/v1/placementsSign in

Create a Spot. surface is web, pc, ios or android. The answer includes the public key and, once, the secret.

Request
request
{
  "name": "My site",
  "surface": "web",
  "origins": ["https://example.com"],
  "settlementAddress": "0xYOUR_PAYOUT_ADDRESS",
  "rewardCallbackUrl": "https://example.com/hooks/swoop"
}
GET/v1/placementsSign in

Your Spots.

GET/v1/placements/:id/metrics?hours=48Sign in

Hourly views, offers started and finished and earnings for one Spot (feeds the live charts).

POST/v1/placements/:id/rotateSign in

Make a new secret key. The old one stops working at once.

POST/v1/placements/:id/verify-originSign in

Check that you own a site origin listed on a web Spot. Limited to 10 checks an hour.

Request
request
{ "origin": "https://example.com" }

Spot picker and prices#

GET/v1/ads/slotsPublic

Every sponsor spot: where it appears, formats, exact image sizes, text limits and the minimum price. Also the creator share (creatorShareBps, 5000 = 50%, confirmed) and the minimum prices.

Answer
json
{
  "slots": [ { "id": "banner-example", "label": "…", "placement": { "where": "…", "format": "…", "sizes": [ { "w": 1200, "h": 400 } ] } } ],
  "creatorShareBps": 5000,
  "floors": { "cpm": "0.26", "cpc": "…", "daily": "…" }
}
GET/v1/ads/demandPublic

Live demand per spot: how many live ads, the top bid and today's featured price. Totals only. A spot with campaigns: 0 is shown as "No live ads here yet".

GET/v1/ads/quote?pricing=cpm&bid=2.00&dailyBudget=20&totalBudget=100Public

A live estimate before you commit: views and clicks a day, what the creator keeps, and what checkout will charge.

Answer
json
{
  "pricing": "cpm",
  "floor": "0.26",
  "perEvent": "0.002",
  "estimate": { "viewsPerDay": 10000, "clicksPerDay": 100 },
  "creatorShareBps": 5000,
  "creatorShare": "50%",
  "checkout": { "cents": 10000, "currency": "USD", "display": "100.00", "settles": "USDC on Gully Chain" }
}

Creative helper#

GET/v1/ads/creative/statusSign in

Whether the AI helper is available.

Answer
json
{ "available": true, "provider": "…" }
POST/v1/ads/creativeSign in

Read your https link and draft three headline, text and button options plus one banner per size. Drafts are filtered for prohibited claims. 20 drafts per person per hour. Pass the draft id as creative.aiGenId when you create the campaign.

Request
request
{ "url": "https://example.com/launch", "slot": "SLOT_ID", "about": "A new music app" }
POST/v1/ads/campaignsSign in

Create a campaign (status draft, then pay). The body also takes the sponsor's display name (2 to 40 characters); the field keeps the service's older name, so copy its exact spelling from the 400 answer the first time. Prices are strings with up to 3 decimals; budgets up to 2.

Request
request
{
  "name": "Spring launch",
  "type": "banner",
  "pricing": "cpm",
  "bid": "2.00",
  "slots": ["SLOT_ID"],
  "dailyBudget": "20.00",
  "totalBudget": "100.00",
  "frequencyCap": 3,
  "endsAt": "2026-12-31T23:59:59Z",
  "creative": {
    "headline": "Meet Skip",
    "body": "The easiest way to earn.",
    "cta": "Learn more",
    "clickUrl": "https://example.com/launch",
    "imageUrl": "https://…/uploaded-image"
  }
}
GET/v1/ads/campaignsSign in

Your campaigns with status, spend and refunds.

GET/v1/ads/campaigns/:idSign in

One campaign with its quote.

GET/v1/ads/campaigns/:id/daily?days=14Sign in

Daily views, clicks, filtered traffic and spend for the live charts.

POST/v1/ads/campaigns/:id/checkoutSign in

Start the Gully Pay checkout. The campaign goes to review after the payment is confirmed.

POST/v1/ads/campaigns/:id/pauseSign in

Pause or resume. Send { "paused": false } to resume.

POST/v1/ads/campaigns/:id/cancelSign in

Stop it and refund the unspent budget.

GET/v1/ads/summary?days=7Sign in

Totals across your campaigns.

POST/v1/ads/uploadsSign in

Upload an image. Send the file as the raw body with content type image/png, image/jpeg or image/webp, up to about 1 MB. The answer holds the address to use as imageUrl.

Boosts#

GET/v1/ads/boosts/packagesPublic

The boost packages: spot, hours (24 or 72) and price.

POST/v1/ads/boostsSign in

Buy a boost for a coin, post, track or profile.

Request
request
{ "kind": "coin", "id": "0xYOUR_COIN_ADDRESS", "title": "My coin", "slot": "SLOT_ID", "hours": 24 }
GET/v1/ads/boostsSign in

Your boosts and how they are doing.

POST/v1/ads/boosts/:id/cancelSign in

Cancel a boost and refund the part not delivered.

Showing and counting ads#

Surfaces that show ads call these. They are public, never cached, and carry no personal data.

GET/v1/ads/serve?slot=SLOT_ID&page=watch&contentPrice=free&creator=channel:ID&content=VIDEO_IDPublic

Ads for one spot. Always send the real page and content price. An empty list always has a reason (member, ad free, gated, paid content, no fill, creator off and so on).

Answer
json
{
  "ads": [ {
    "serve": "srv_…", "label": "Sponsored", "whyLabel": "Why this ad?", "why": "…",
    "type": "banner", "slot": "SLOT_ID", "headline": "Meet Skip", "body": "…", "cta": "Learn more",
    "clickUrl": "https://…", "clickTrackUrl": "https://offers.kre8.fun/v1/ads/click/srv_…", "imageUrl": "https://…",
    "beacons": { "events": "https://offers.kre8.fun/v1/ads/events", "hide": "…", "report": "…", "minVisibleMs": 1000 }
  } ],
  "reason": null
}
POST/v1/ads/eventsPublic

Count what happened. kind is impression, click, complete or skip. Send visibleMs for impressions.

Request
request
{ "serve": "srv_…", "kind": "impression", "visibleMs": 1200 }
GET/v1/ads/click/:servePublic

Open this for a click: it counts the click and redirects to the sponsor.

POST/v1/ads/hidePublic

Hide an ad for this viewer.

Request
request
{ "serve": "srv_…" }
POST/v1/ads/page-reportPublic

A note about an ad from the public report page (swoopads.xyz/report). No account. Body: reason (the same reasons as below), details, where (the page address) and serve (the ad reference) are optional. 5 an hour per network. A person reads it; nothing is automatic.

Answer
json
{ "ok": true, "id": "apr_…" }
POST/v1/ads/reportPublic

Report an ad. Reasons: misleading, scam, offensive, sexual, illegal, wrong_label, too_loud, other. 20 reports per viewer per hour.

Request
request
{ "serve": "srv_…", "reason": "misleading", "details": "optional text" }
Answer
json
{ "reported": true, "note": "…" }
GET/v1/ads/feed?placement=spots&page=home&n=3Public

Cards for a feed: sponsored ads first, then offers. page is required. Every card has a Sponsored label you must keep.

Answer
json
{ "placement": "spots", "items": [ { "kind": "ad", "id": "srv_…", "label": "Sponsored", "badge": null, "title": "…", "body": "…", "cta": "…", "imageUrl": null, "href": "https://…" } ], "reason": null }

Creator controls and earnings#

GET/v1/ads/creatorSign in

Your ad settings: ads on or off for your content.

POST/v1/ads/creatorSign in

Change them.

Request
request
{ "adsEnabled": false }
GET/v1/ads/creator/earnings?days=30Sign in

What your content earned from sponsors, by day.

GET/v1/placements/:id/promosSign in

Promotion settings for a Spot. PUT the same route to turn promotions off or block categories; the answer also lists the blocked sponsors you can change.

Request
request
PUT /v1/placements/:id/promos
{ "enabled": true, "slots": [], "blockedCategories": ["gaming"] }
GET/v1/me/earnings?range=30dSign in

Everything one person earned, ready for the Earn view: totals in USD, a daily series, by creator and by offer with 14-day sparks, streak, next payout and the steps in progress. range is 7d, 30d or all.

Answer
json
{
  "range": "30d", "currency": "USD", "testnet": true,
  "totals": { "earnedUsd": 12.4, "readyUsd": 1.5, "pendingUsd": 0.8, "rejectedUsd": 0, "count": 31 },
  "series": [ { "day": "2026-11-20", "paidUsd": 0.4, "openUsd": 0.1, "count": 2, "cumulativeUsd": 12.4 } ],
  "streak": { "current": 4, "longest": 9, "activeToday": true, "atRisk": false },
  "nextPayout": { "ready": null, "pending": null, "text": "…" },
  "empty": false
}
GET/v1/me/payouts?days=30Sign in

Your payouts with amount, state and transaction link.

GET/v1/me/completionsSign in

Offers you completed and what you can claim.

POST/v1/completions/:id/claimSign in

Prepare a claim for a finished offer reward (the app then sends it).

Invites and marketing#

Creator invites are under /v1/referrals and the sponsor tools under /v1/marketing. See Invite creators and Marketing tools for every route.

Offers and pay per action#

GET/v1/offers?placement=pk_YOUR_SPOT_KEYPublic

Offers for a Spot. With a token each offer carries the person's progress.

POST/v1/offers/:id/startSign in

Start an offer for a signed-in person.

Request
request
{ "placement": "pk_YOUR_SPOT_KEY" }
GET/v1/creator-offers/mineSign in

Offers you made as a creator. Create with POST /v1/creator-offers, then fund, review, complete or cancel.

Pay per action has its own routes under /v1/actions. With the feature off, GET /v1/actions/offers answers { "enabled": false, "offers": [] } and the rest answer 503.

WhoRoutes
PeopleGET /v1/actions/offers?placement=pk_…, POST …/offers/:id/join, POST …/steps/:key/verify, POST …/watch/beat, POST …/playtime, GET /v1/actions/me/progress
Your serverPOST /v1/actions/events (signed with the Spot secret)
SponsorsGET /v1/actions/quote?prices=0.10,0.25, POST|GET /v1/actions/sponsor/offers, then …/:id/checkout, pause, resume, end
CreatorsGET /v1/actions/creator/earnings, POST /v1/actions/placements/:id/postback, GET …/deliveries, POST …/test-event

An offer has one to six steps. Step kinds: swap, buy, follow, quest, watch, telegram, playtime and event. A step is checked by the chain or the service that owns the fact. Caps per person and per day, a hold and a reversal window apply as described under payouts.

shell
curl "https://offers.kre8.fun/v1/actions/quote?prices=0.10,0.25"