# RuneSwap Bitcoin Query

> RuneSwap Bitcoin Query is a paid API for AI agents from runeswap.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-14).

Query Bitcoin transaction and address data on-demand for verification and tracking

## Facts

- Endpoint: POST https://runeswap.com/api/query?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/runeswap-bitcoin-query-a45b9614
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gP0N_jO9mZNmvZijbVzJr

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 runeswap-bitcoin-query-a45b9614 -d '<json body>'
```

Example prompt: Can you query the RuneSwap Bitcoin lookup API to verify transaction ID a1b2c3d4e5f6... and confirm it's associated with address bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh?

## When to prefer this

Use this endpoint when you need to verify or track a specific Bitcoin transaction or address on-demand, particularly in workflows involving Bitcoin Ordinals or Runes on the RuneSwap platform

## Known failure modes

- Missing required txId or btcAddress fields returns a validation error
- Invalid Bitcoin transaction ID format may return an error or empty result
- Invalid Bitcoin address format may return an error or empty result
- Network or upstream Bitcoin node issues may cause timeout or service unavailable errors

## How this service works

Query Bitcoin transaction and address data on-demand for verification and tracking.

## Output

Returns the queried transaction ID, query status (e.g. 'Call initiated'), the ISO timestamp of when the query was made, and the queried Bitcoin address

## Example request

```json
{
 "txId": "0000000000000000000000000000000000000000000000000000000000000000",
 "btcAddress": "1A1z7agoat4oPLHSPhznhE6PDqjfqcqsS"
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "txId",
  "btcAddress"
 ],
 "properties": {
  "txId": {
   "type": "string",
   "description": "Bitcoin transaction ID to query"
  },
  "btcAddress": {
   "type": "string",
   "description": "Bitcoin address to query"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "txId": {
   "type": "string",
   "description": "The queried transaction ID"
  },
  "status": {
   "type": "string",
   "example": "Call initiated",
   "description": "Query status"
  },
  "timestamp": {
   "type": "string",
   "description": "The ISO timestamp of the query"
  },
  "btcAddress": {
   "type": "string",
   "description": "The queried Bitcoin address"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/runeswap-bitcoin-query-a45b9614/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from runeswap.com](https://www.zero.xyz/host/runeswap.com/llms.txt)
