# ScriptMasterLabs BTC Price API (x402)

> ScriptMasterLabs BTC Price API (x402) is a paid API for AI agents from acp-x402-discovery.onrender.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Returns the current Bitcoin (BTC) price, paid per-call in USDC on Base via the x402 protocol.

## Facts

- Endpoint: GET https://acp-x402-discovery.onrender.com/x402/btc-price
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scriptmasterlabs-btc-price-api-x402-e74e11dd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__pZBj83YZHv_oaIckkg60

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 scriptmasterlabs-btc-price-api-x402-e74e11dd
```

Example prompt: What's the current Bitcoin price right now? Use the ScriptMasterLabs x402 BTC price endpoint and pay the $0.001 USDC fee to get the live data.

## When to prefer this

Choose this endpoint when you need a quick, low-cost ($0.001 USDC) Bitcoin price lookup and your agent already supports x402 micropayment settlement on Base. It is best for lightweight, event-driven or infrequent BTC price checks rather than high-frequency trading infrastructure. Prefer alternatives like CoinGecko or Coinbase Market Data API if you need richer data, historical prices, or do not want per-call crypto payments.

## Known failure modes

- Payment failure or insufficient USDC balance — x402 payment not settled, returns 402 Payment Required
- Endpoint unavailability — hosted on Render free tier, may cold-start or be offline
- Empty or malformed response — response schema is undocumented, so field names and structure may vary
- Rate or quota issues — unclear rate limits may result in errors under high-frequency use

## How this service works

Pay-per-call crypto, RWA, federal, SEC, and compliance APIs. Settled in USDC on Base via x402. Hyphen routes only (e.g. /x402/rwa-aggregates, /x402/gas-tracker).

## Output

Returns the current Bitcoin price, likely as a numeric value with currency denomination (USD or equivalent), sourced at the time of the API call. Exact schema fields are minimal per the crawled metadata.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "example": {}
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/scriptmasterlabs-btc-price-api-x402-e74e11dd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from acp-x402-discovery.onrender.com](https://www.zero.xyz/host/acp-x402-discovery.onrender.com/llms.txt)
