# ScriptMasterLabs BTC Price API (x402)

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

Returns the current Bitcoin (BTC) price, settled via x402 micropayment in USDC on Base at $0.001 per call.

## Facts

- Endpoint: GET https://acp-x402-scriptmasterlabs.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-0253ced8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_vhDLG07d-V-B9rzMSHa66

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-0253ced8
```

Example prompt: What's the current Bitcoin price? Use the ScriptMasterLabs x402 BTC price endpoint to get the live spot price right now.

## When to prefer this

Choose this endpoint when you need a pay-per-call, low-cost BTC price lookup settled in USDC on Base via x402 micropayments — ideal for autonomous agents that need to pay programmatically without API key management. Best for lightweight, infrequent price checks rather than high-frequency trading feeds.

## Known failure modes

- Payment failure: x402 micropayment not settled or insufficient USDC balance results in 402 Payment Required
- Network/service unavailability: hosted on Render free tier, may have cold-start latency or downtime
- Missing or malformed response: response schema is undocumented, so parsing errors are possible
- Rate limiting: high-frequency calls may be throttled or rejected

## 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 JSON object containing a numeric price value (e.g. USD spot price). The exact response schema is minimal; expect a price field or similar key-value pair representing BTC's current market price.

## 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-0253ced8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from acp-x402-scriptmasterlabs.onrender.com](https://www.zero.xyz/host/acp-x402-scriptmasterlabs.onrender.com/llms.txt)
