# India RBI Macro Data API

> India RBI Macro Data API is a paid API for AI agents from stockapi.hillguava.xyz, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-15).

Returns key RBI macroeconomic indicators for India including INR/USD exchange rate, repo rate, and CPI inflation

## Facts

- Endpoint: GET https://stockapi.hillguava.xyz/macro/rbi
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/india-rbi-macro-data-api-78b48812
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1kKX9Y4-TiCvV-gPxmYC5

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 india-rbi-macro-data-api-78b48812
```

Example prompt: What are the current RBI macroeconomic indicators for India — give me the repo rate, CPI inflation, and the INR/USD exchange rate right now?

## When to prefer this

Use this endpoint when you need real-time or near-real-time Indian macroeconomic data — specifically RBI repo rate, CPI inflation, and INR/USD — without needing an account or subscription. Ideal for agents that need to incorporate India monetary policy context into financial analysis, currency conversion, or macro research, paying only $0.02 USDC per call via x402 on Base.

## Known failure modes

- Payment not received — 402 response if USDC payment on Base is not attached
- Service unavailable if upstream RBI data source is down
- Stale data if RBI has not published updated figures recently
- Network timeout on cold start

## How this service works

Pay-per-call India stock, F&O (with Black-Scholes Greeks), mutual fund, and RBI macro data. Powered by x402 — pay in USDC on Base, no account needed.

## Output

A JSON object containing the current INR/USD exchange rate, RBI repo rate in percent, and CPI inflation rate in percent — e.g. {inr_usd: 94.71, repo_rate_pct: 5.25, cpi_inflation_pct: 3.94}

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "inr_usd": 94.71,
  "repo_rate_pct": 5.25,
  "cpi_inflation_pct": 3.94
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/india-rbi-macro-data-api-78b48812/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from stockapi.hillguava.xyz](https://www.zero.xyz/host/stockapi.hillguava.xyz/llms.txt)
