# SableForge Transaction Lookup API

> SableForge Transaction Lookup API is a paid API for AI agents from sableforge.servehttp.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-12).

Looks up on-chain transaction details by hash on the Base blockchain, returning sender, recipient, value, and status.

## Facts

- Endpoint: GET https://sableforge.servehttp.com/api/tx?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sableforge-transaction-lookup-api-f76dc445
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_i0kTnNBhnmFe5VD5ZhJxK

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 sableforge-transaction-lookup-api-f76dc445
```

Example prompt: Can you look up the details of this Base transaction — 0xabc123... — and tell me the sender, receiver, amount, and whether it succeeded?

## When to prefer this

Use this endpoint when you need to look up a specific transaction on the Base blockchain by its hash and retrieve structured details (sender, receiver, value, status) without needing a full blockchain explorer or API key. Ideal for agents that need lightweight, pay-per-call on-chain transaction verification settled in USDC via x402.

## Known failure modes

- Transaction hash not found — returns error if hash does not exist on Base
- Invalid hash format — malformed or non-hex hash string causes bad request
- Transaction still pending — unconfirmed transactions may not yet be indexable
- Payment failure — x402 USDC micropayment required; insufficient balance causes 402 response
- Network timeout — self-hosted node may be temporarily unavailable

## How this service works

12 pay-per-call HTTP APIs settled in USDC on Base via x402 v2. No API keys, no accounts, no signup — $0.0005–$0.0020 per call. Includes a locally hosted 27B LLM endpoint.

## Output

Returns a JSON object with the transaction's recipient address (to), sender address (from), transaction hash, value transferred (in ETH/USDC units), and confirmation status (1 = success, 0 = failed) for the queried Base chain transaction.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "hash": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "to": "0x..",
  "from": "0x..",
  "hash": "0xabc",
  "value": 0.001,
  "status": 1
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sableforge-transaction-lookup-api-f76dc445/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from sableforge.servehttp.com](https://www.zero.xyz/host/sableforge.servehttp.com/llms.txt)
