# Market Intelligence API – Buy Prepaid Credit Pack

> Market Intelligence API – Buy Prepaid Credit Pack is a paid API for AI agents from api.marketintelligenceapi.com, paid per call via x402, $5/call, status unknown (last checked 2026-10-13).

Purchase a prepaid API credit pack ($5, $20, or $50) with a one-time payment and receive an API key for accessing paid market intelligence endpoints without per-call x402 payments.

## Facts

- Endpoint: GET https://api.marketintelligenceapi.com/api/v1/credits/buy/:usd?utm_source=zero.xyz
- Price: $5/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/market-intelligence-api-buy-prepaid-credit-pack-c3fbd92e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jo5yY6pvbTvNn6yZCtWwj

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability market-intelligence-api-buy-prepaid-credit-pack-c3fbd92e
```

Example prompt: Buy me a $20 prepaid credit pack on the Market Intelligence API so I can make market data calls without paying per request — I want the discounted $22 credit bundle.

## When to prefer this

Use this endpoint when the calling client (especially MCP clients) cannot perform x402 per-call micropayments and needs a prepaid credit pool. Also prefer this when you want volume discounts ($20 → $22 credit, $50 → $60 credit) or want to avoid payment overhead on every individual market data call. If you can handle x402 per-call payments natively, you may call paid routes directly instead.

## Known failure modes

- Payment not received or insufficient USDC — no key returned, payment not processed
- Invalid usd path parameter (not 5, 20, or 50) — request rejected
- Network or provider error during payment processing — may require retry
- Existing key not found when attempting top-up — new key may be issued instead

## How this service works

Prepaid API credits and API key for clients that cannot sign an x402 payment per call (most MCP clients): one payment buys credit ($5, $20 = $22 credit, $50 = $60) and returns an API key. Send it as X-API-Key on any paid route or MCP tool; each call costs its x402 price and failed calls are refunded. With your key in X-API-Key it tops that key up.

## Output

Returns an API key that can be sent as X-API-Key on any paid Market Intelligence API route or MCP tool. The key carries a credit balance equal to the purchased pack value (e.g. $20 pack = $22 credit, $50 pack = $60 credit). Each subsequent paid API call deducts its x402 price from the balance; failed calls are refunded. If an existing API key is provided, the balance is topped up instead of issuing a new key.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input",
  "output"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "usd"
     ],
     "properties": {
      "usd": {
       "enum": [
        "5",
        "20",
        "50"
       ],
       "type": "string",
       "examples": [
        "5"
       ],
       "description": "Pack price in USD: 5, 20 or 50."
      }
     },
     "additionalProperties": false
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "name": {
       "type": "string",
       "description": "Endpoint query parameter"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "description": "Example JSON response returned by this endpoint"
    }
   },
   "additionalProperties": true
  }
 },
 "additionalProperties": false
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/market-intelligence-api-buy-prepaid-credit-pack-c3fbd92e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.marketintelligenceapi.com](https://www.zero.xyz/host/api.marketintelligenceapi.com/llms.txt)
