Spark Ads · Schema

GetApiServeResponse

AdvertisingPlatformDashboardsPayments

Properties

Name Type Description
ads array List of ad entries to display
ads[].id string Stable key. A creative UUID, or a house entry slug.
ads[].name string App name, up to 40 characters.
ads[].url string Where the card links. Always https.
ads[].domain string Bare hostname. The logo and accent colour are resolved from it.
ads[].tagline string Four or five words, under the name.
ads[].body string One sentence, up to 160 characters.
ads[].accent string Tailwind text colour pair for the name, resting then hover. A fallback only.
ads[].monogram string One letter, for when no logo file resolves.
ads[].appId string The SparkPay app_id, present on house entries whose slug differs from it.
ads[].paid boolean True on the one paid card, when this hour is sold, approved and paying.
ads[].discount object A live public coupon (house entries only).
ads[].discount.percent number Discount percent.
ads[].discount.code string Discount code.
ads[].discount.expiresAt string Expiration timestamp or null.
slot object Info about slot availability.
slot.forSale boolean True whenever this hour has no paid ad in it.
slot.pricingUrl string URL where to send whoever clicks.
slot.from string Pricing string, e.g., "$9/month".
layout object Layout configuration for the carousel.
layout.minCards number Fewest cards to show, currently 2.
layout.maxCards number Most cards to show, currently 5.
layout.minCardWidth number Pixels a card needs before another column is worth adding.
layout.gap number Pixels between cards.
View JSON Schema on GitHub

JSON Schema

sparkads-dev-get-api-serve-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sparkads-dev/json-schema/sparkads-dev-get-api-serve-response-schema.json",
  "title": "GetApiServeResponse",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/sparkads-dev-openapi-generated.yml#/components/schemas/GetApiServeResponse",
  "type": "object",
  "properties": {
    "ads": {
      "type": "array",
      "description": "List of ad entries to display"
    },
    "ads[].id": {
      "type": "string",
      "description": "Stable key. A creative UUID, or a house entry slug."
    },
    "ads[].name": {
      "type": "string",
      "description": "App name, up to 40 characters."
    },
    "ads[].url": {
      "type": "string",
      "description": "Where the card links. Always https."
    },
    "ads[].domain": {
      "type": "string",
      "description": "Bare hostname. The logo and accent colour are resolved from it."
    },
    "ads[].tagline": {
      "type": "string",
      "description": "Four or five words, under the name."
    },
    "ads[].body": {
      "type": "string",
      "description": "One sentence, up to 160 characters."
    },
    "ads[].accent": {
      "type": "string",
      "description": "Tailwind text colour pair for the name, resting then hover. A fallback only."
    },
    "ads[].monogram": {
      "type": "string",
      "description": "One letter, for when no logo file resolves."
    },
    "ads[].appId": {
      "type": "string",
      "description": "The SparkPay app_id, present on house entries whose slug differs from it."
    },
    "ads[].paid": {
      "type": "boolean",
      "description": "True on the one paid card, when this hour is sold, approved and paying."
    },
    "ads[].discount": {
      "type": "object",
      "description": "A live public coupon (house entries only)."
    },
    "ads[].discount.percent": {
      "type": "number",
      "description": "Discount percent."
    },
    "ads[].discount.code": {
      "type": "string",
      "description": "Discount code."
    },
    "ads[].discount.expiresAt": {
      "type": "string",
      "description": "Expiration timestamp or null."
    },
    "slot": {
      "type": "object",
      "description": "Info about slot availability."
    },
    "slot.forSale": {
      "type": "boolean",
      "description": "True whenever this hour has no paid ad in it."
    },
    "slot.pricingUrl": {
      "type": "string",
      "description": "URL where to send whoever clicks."
    },
    "slot.from": {
      "type": "string",
      "description": "Pricing string, e.g., \"$9/month\"."
    },
    "layout": {
      "type": "object",
      "description": "Layout configuration for the carousel."
    },
    "layout.minCards": {
      "type": "number",
      "description": "Fewest cards to show, currently 2."
    },
    "layout.maxCards": {
      "type": "number",
      "description": "Most cards to show, currently 5."
    },
    "layout.minCardWidth": {
      "type": "number",
      "description": "Pixels a card needs before another column is worth adding."
    },
    "layout.gap": {
      "type": "number",
      "description": "Pixels between cards."
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/sparkads-dev-get-api-serve-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.