CDK Bot Meta API
The Meta API from CDK Bot — 5 operation(s) for meta.
The Meta API from CDK Bot — 5 operation(s) for meta.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.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.curl "https://apis.io/api/v1/apis/cdk-bot:cdk-bot-meta-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a 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. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: CDK Bot — Digital Products Meta API
version: 1.0.0
termsOfService: https://api.cdk.bot/terms
contact:
name: CDK Bot
email: info@cdk.bot
url: https://cdk.bot
description: 'Agent-native API for purchasing digital products (game keys, gift cards, and more) via USDC on Base chain.
## Quick Start
**One-shot (wallet-native agents):** `POST /purchase {"game_id":"..."}` with an `X-PAYMENT` header — a signed EIP-3009 "exact" authorization for the accepts[] returned in the 402 — and a facilitator settles it gaslessly, returning the key in one call (no tx_hash/quote_id).
**Two-step (any agent):**
1. **Browse**: `GET /games?q=battlefield` — search products, filter by platform/region/product_type
2. **Get price**: `POST /purchase {"game_id":"..."}` — returns 402 with exact USDC amount, wallet address, and standard x402 accepts[]
3. **Pay & get key**: Send USDC onchain, then `POST /purchase {"game_id":"...","tx_hash":"0x...","quote_id":"..."}` — returns product key
## Key facts
- All prices are in USD (USDC on Base chain)
- Only in-stock products are returned (in_stock: true)
- Payment address: `0x0b321A0F1294431347f98e10a2275F23B11BBfFb`
- No authentication required for browsing or purchasing
- Double-spend protection via unique tx_hash constraint
- Agent discovery: `GET /.well-known/agent.json`
- Liveness check: `GET /health`
## Sandbox Mode
Test the full purchase flow without spending real money:
1. Get free test USDC from Circle Faucet and Sepolia ETH from Alchemy Faucet
2. Add `"chain": "base-sepolia"` to your `POST /purchase` request
3. Pay with test USDC on Base Sepolia — receive a mock key (`SANDBOX-XXXXX-XXXXX-XXXXX`)
Same API, same URL, same flow — just add the chain parameter. See `GET /.well-known/agent.json` for full sandbox docs.'
x-guidance: 'CDK Bot sells game keys, gift cards, and digital products for AI agents. Flow: (1) GET /games?q=<query> to search the catalog. (2) POST /purchase {"game_id":"..."} to get an HTTP 402 with a price-locked USDC quote on Base. (3) Pay one-shot by retrying with an X-PAYMENT header (signed EIP-3009 authorization, gasless), or send USDC onchain and retry with tx_hash + quote_id. (4) The response contains the product key; poll GET /orders/{id} if delivery is pending. Sandbox: add "chain":"base-sepolia" to test without real money.'
servers:
- url: https://api.cdk.bot
tags:
- name: Meta
paths:
/platforms:
get:
tags:
- Meta
summary: List available platforms
responses:
'200':
description: Platforms
content:
application/json:
schema:
type: object
properties:
platforms:
type: array
items:
type: object
properties:
id:
type: string
name:
type: string
required:
- id
- name
required:
- platforms
security: []
operationId: getPlatforms
x-operation-id-source: derived
/regions:
get:
tags:
- Meta
summary: List available regions
responses:
'200':
description: Regions
content:
application/json:
schema:
type: object
properties:
regions:
type: array
items:
type: object
properties:
id:
type: string
name:
type: string
required:
- id
- name
required:
- regions
security: []
operationId: getRegions
x-operation-id-source: derived
/devices:
get:
tags:
- Meta
summary: List available devices
description: Returns all target devices that have in-stock games. Device = hardware the game runs on (PC, PS4, PS5, Xbox One, etc.), as opposed to platform which is the digital storefront (Steam, PSN, Xbox Live).
responses:
'200':
description: Devices
content:
application/json:
schema:
type: object
properties:
devices:
type: array
items:
type: object
properties:
id:
type: string
name:
type: string
required:
- id
- name
required:
- devices
security: []
operationId: getDevices
x-operation-id-source: derived
/product-types:
get:
tags:
- Meta
summary: List available product types
description: 'Returns product types with counts. Types: game (base games + editions), dlc (downloadable content, requires base game), gift_card (gift cards, prepaid codes, subscriptions, in-game currency).'
responses:
'200':
description: Product types
content:
application/json:
schema:
type: object
properties:
product_types:
type: array
items:
type: object
properties:
id:
type: string
name:
type: string
count:
type: number
required:
- id
- name
- count
required:
- product_types
security: []
operationId: getProductTypes
x-operation-id-source: derived
/languages:
get:
tags:
- Meta
summary: List available languages
description: Returns distinct language codes from language-restricted products (excludes Multilanguage). Use these codes with the ?language= filter on GET /games and GET /games/match.
responses:
'200':
description: Languages
content:
application/json:
schema:
type: object
properties:
languages:
type: array
items:
type: object
properties:
code:
type: string
product_count:
type: number
required:
- code
- product_count
required:
- languages
security: []
operationId: getLanguages
x-operation-id-source: derived