# Indo News API — Market Data Endpoint (IDR FX & Crypto)

> Indo News API — Market Data Endpoint (IDR FX & Crypto) is a paid API for AI agents from indo-news-api.vercel.app, paid per call via x402, $0.05/call, status unknown (last checked 2026-11-23).

Returns USD/IDR and other FX rates plus BTC/ETH/USDT crypto prices in Indonesian Rupiah from Indodax, with optional topic-based sentiment context

## Facts

- Endpoint: GET https://indo-news-api.vercel.app/market?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/indo-news-api-market-data-endpoint-idr-fx-crypto-802de962
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_F1e5Wr9EytwDi_qk0rrPH

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 indo-news-api-market-data-endpoint-idr-fx-crypto-802de962
```

Example prompt: What's the current USD/IDR rate and the BTC and ETH prices in Indonesian rupiah right now, with finance as the topic context?

## When to prefer this

Use this endpoint when you specifically need Indonesian Rupiah-denominated market data — USD/IDR FX rates with historical series, or BTC/ETH/USDT prices as quoted on Indodax. Prefer this over global crypto or FX APIs when your use case is Indonesia-focused finance, rupiah valuation, or cross-referencing Indonesian exchange prices against global benchmarks. No API key or signup required; pay per call in USDC via x402.

## Known failure modes

- Invalid or unsupported ticker symbol in 'symbols' parameter returns empty or error quotes
- Payment not received (x402 protocol failure) blocks the response
- Indodax venue temporarily unavailable causes stale or missing crypto data
- Malformed query parameters may return default values silently rather than an error
- Rate data may lag real-time by minutes depending on upstream refresh

## How this service works

Indonesian headlines, keyword search and ranked briefings, plus reference data: USD/IDR and any FX pair, BTC/ETH/USDT in rupiah, BMKG earthquakes and public holidays. Structured JSON, paid per call in USDC on Base. No API key, no signup.

## Output

Returns a JSON object with: FX data including pair name, current rate, rate date, 21-day series, and 30-day percentage change; crypto quotes from Indodax with symbol, IDR last price, and spread percentage; a scope field ('IDR') and an as_of timestamp indicating data freshness.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "topic": {
       "type": "string",
       "description": "News beat for the sentiment component, default finance."
      },
      "symbols": {
       "type": "string",
       "description": "Comma-separated tickers, default btc,eth,usdt."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "fx": {
   "pair": "USD/IDR",
   "rate": 18136,
   "rate_date": "2026-10-30",
   "series_days": 21,
   "change_pct_over_30d": 0.42
  },
  "as_of": "2026-11-03T12:00:00.000Z",
  "scope": "IDR",
  "crypto": {
   "venue": "Indodax",
   "quotes": [
    {
     "pair": "BTC/IDR",
     "symbol": "btc",
     "last_idr": 2000000000,
     "spread_pct": 0.12
    }
   ]
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/indo-news-api-market-data-endpoint-idr-fx-crypto-802de962/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from indo-news-api.vercel.app](https://www.zero.xyz/host/indo-news-api.vercel.app/llms.txt)
