{
  "service": "SableForge",
  "serviceName": "base-data-api",
  "description": "Pay-per-call data and utility APIs for autonomous agents, settled in USDC on Base via x402 v2.",
  "homepage": "http://sableforge.servehttp.com/",
  "contact": "sableforge-apis@uberip.com",
  "protocol": "x402",
  "x402Version": 2,
  "network": "eip155:8453",
  "chain": "Base",
  "asset": {
    "symbol": "USDC",
    "address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "decimals": 6,
    "transferMethod": "eip3009"
  },
  "payTo": "0xa6219b4745cfe59488405bc66083660724af948b",
  "facilitator": "https://facilitator.payai.network",
  "currency": "USD",
  "documentation": "http://sableforge.servehttp.com/",
  "openapi": "http://sableforge.servehttp.com/openapi.json",
  "discovery": {
    "well_known": "http://sableforge.servehttp.com/.well-known/ai/x402",
    "well_known_x402": "http://sableforge.servehttp.com/.well-known/x402",
    "endpoints_json": "http://sableforge.servehttp.com/endpoints.json",
    "openapi": "http://sableforge.servehttp.com/openapi.json",
    "llms_txt": "http://sableforge.servehttp.com/llms.txt"
  },
  "count": 12,
  "endpoints": [
    {
      "name": "SableForge Crypto Price Feed",
      "url": "http://sableforge.servehttp.com/api/price",
      "path": "/api/price",
      "method": "GET",
      "description": "Live crypto prices (CoinGecko). ?ids=bitcoin,ethereum&vs_currencies=usd",
      "long_description": "CoinGecko spot prices for any supported asset.",
      "price_usd": 0.001,
      "price_atomic": "1000",
      "currency": "USDC",
      "network": "eip155:8453",
      "payTo": "0xa6219b4745cfe59488405bc66083660724af948b",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "scheme": "exact",
      "tags": [
        "crypto",
        "price",
        "market"
      ],
      "category": "market",
      "parameters": "?ids=bitcoin,ethereum&amp;vs_currencies=usd",
      "example_request": "http://sableforge.servehttp.com/api/price",
      "example_response": {
        "bitcoin": {
          "usd": 83000
        },
        "ethereum": {
          "usd": 2600
        }
      }
    },
    {
      "name": "SableForge IP Geolocation",
      "url": "http://sableforge.servehttp.com/api/geo",
      "path": "/api/geo",
      "method": "GET",
      "description": "IP geolocation (country, city, ISP, lat/lon). ?ip=8.8.8.8",
      "long_description": "Country, city, region, ISP and coordinates for an IPv4/IPv6 address.",
      "price_usd": 0.001,
      "price_atomic": "1000",
      "currency": "USDC",
      "network": "eip155:8453",
      "payTo": "0xa6219b4745cfe59488405bc66083660724af948b",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "scheme": "exact",
      "tags": [
        "ip",
        "geo",
        "lookup"
      ],
      "category": "data",
      "parameters": "?ip=8.8.8.8",
      "example_request": "http://sableforge.servehttp.com/api/geo",
      "example_response": {
        "status": "success",
        "country": "United States",
        "city": "Mountain View"
      }
    },
    {
      "name": "SableForge DNS Lookup",
      "url": "http://sableforge.servehttp.com/api/dns",
      "path": "/api/dns",
      "method": "GET",
      "description": "DNS record lookup (A/AAAA/MX/TXT/CNAME/SOA/NS/PTR). ?host=example.com&type=A",
      "long_description": "Resolve A / AAAA / MX / TXT / CNAME / NS / SOA / PTR records with TTLs.",
      "price_usd": 0.001,
      "price_atomic": "1000",
      "currency": "USDC",
      "network": "eip155:8453",
      "payTo": "0xa6219b4745cfe59488405bc66083660724af948b",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "scheme": "exact",
      "tags": [
        "dns",
        "lookup",
        "security"
      ],
      "category": "security",
      "parameters": "?host=example.com&amp;type=A",
      "example_request": "http://sableforge.servehttp.com/api/dns",
      "example_response": {
        "host": "example.com",
        "type": "A",
        "status": 0,
        "answers": [
          "93.184.215.14"
        ]
      }
    },
    {
      "name": "SableForge Hash Utility",
      "url": "http://sableforge.servehttp.com/api/hash",
      "path": "/api/hash",
      "method": "GET",
      "description": "Cryptographic hash of a text string (sha256/sha512/sha1/md5), hex + base64. ?text=hi&alg=sha256",
      "long_description": "Hash a UTF-8 string with sha256, sha512, sha1 or md5; hex and base64 output.",
      "price_usd": 0.001,
      "price_atomic": "1000",
      "currency": "USDC",
      "network": "eip155:8453",
      "payTo": "0xa6219b4745cfe59488405bc66083660724af948b",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "scheme": "exact",
      "tags": [
        "hash",
        "crypto",
        "utility"
      ],
      "category": "utility",
      "parameters": "?text=hello&amp;alg=sha256",
      "example_request": "http://sableforge.servehttp.com/api/hash",
      "example_response": {
        "alg": "sha256",
        "hex": "2cf24dba...",
        "base64": "LPDbh++..."
      }
    },
    {
      "name": "SableForge Base Time & Block Height",
      "url": "http://sableforge.servehttp.com/api/time",
      "path": "/api/time",
      "method": "GET",
      "description": "Current UTC time + latest Base mainnet block number. ?format=iso|unix",
      "long_description": "Authoritative UTC timestamp plus the latest Base mainnet block number.",
      "price_usd": 0.0005,
      "price_atomic": "500",
      "currency": "USDC",
      "network": "eip155:8453",
      "payTo": "0xa6219b4745cfe59488405bc66083660724af948b",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "scheme": "exact",
      "tags": [
        "time",
        "block",
        "base"
      ],
      "category": "utility",
      "parameters": "?format=iso|unix",
      "example_request": "http://sableforge.servehttp.com/api/time",
      "example_response": {
        "iso": "2026-09-30T00:00:00Z",
        "unix": 1790000000,
        "base_block": 12345678
      }
    },
    {
      "name": "SableForge Text Statistics",
      "url": "http://sableforge.servehttp.com/api/text",
      "path": "/api/text",
      "method": "GET",
      "description": "Text statistics: chars, words, lines, bytes. ?text=...",
      "long_description": "Character, word, line and byte counts for a UTF-8 string.",
      "price_usd": 0.0005,
      "price_atomic": "500",
      "currency": "USDC",
      "network": "eip155:8453",
      "payTo": "0xa6219b4745cfe59488405bc66083660724af948b",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "scheme": "exact",
      "tags": [
        "text",
        "utility"
      ],
      "category": "utility",
      "parameters": "?text=hello%20world",
      "example_request": "http://sableforge.servehttp.com/api/text",
      "example_response": {
        "chars": 11,
        "words": 2,
        "lines": 1,
        "bytes": 11
      }
    },
    {
      "name": "SableForge FX Rates",
      "url": "http://sableforge.servehttp.com/api/fx",
      "path": "/api/fx",
      "method": "GET",
      "description": "FX / asset exchange rates from a base currency. ?base=USD",
      "long_description": "Exchange rates for ~30 fiat and crypto quotes against a base currency.",
      "price_usd": 0.001,
      "price_atomic": "1000",
      "currency": "USDC",
      "network": "eip155:8453",
      "payTo": "0xa6219b4745cfe59488405bc66083660724af948b",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "scheme": "exact",
      "tags": [
        "fx",
        "exchange",
        "rates"
      ],
      "category": "finance",
      "parameters": "?base=USD",
      "example_request": "http://sableforge.servehttp.com/api/fx",
      "example_response": {
        "base": "USD",
        "eur": 0.9,
        "btc": 1.2e-05
      }
    },
    {
      "name": "SableForge Base Block Explorer",
      "url": "http://sableforge.servehttp.com/api/block",
      "path": "/api/block",
      "method": "GET",
      "description": "Base mainnet block info by number (hash, timestamp, gas, tx count). ?number=12345678",
      "long_description": "Full block header by number: hash, timestamp, gas used, transaction count.",
      "price_usd": 0.001,
      "price_atomic": "1000",
      "currency": "USDC",
      "network": "eip155:8453",
      "payTo": "0xa6219b4745cfe59488405bc66083660724af948b",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "scheme": "exact",
      "tags": [
        "base",
        "block",
        "chain"
      ],
      "category": "chain",
      "parameters": "?number=12345678",
      "example_request": "http://sableforge.servehttp.com/api/block",
      "example_response": {
        "number": 12345678,
        "hash": "0x..",
        "timestamp": 1790000000,
        "tx_count": 120
      }
    },
    {
      "name": "SableForge Base Transaction Decoder",
      "url": "http://sableforge.servehttp.com/api/tx",
      "path": "/api/tx",
      "method": "GET",
      "description": "Decode a Base transaction by hash (status, from, to, value, gas). ?hash=0x..",
      "long_description": "Decode a Base transaction by hash: status, from, to, value, gas used.",
      "price_usd": 0.002,
      "price_atomic": "2000",
      "currency": "USDC",
      "network": "eip155:8453",
      "payTo": "0xa6219b4745cfe59488405bc66083660724af948b",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "scheme": "exact",
      "tags": [
        "base",
        "tx",
        "chain"
      ],
      "category": "chain",
      "parameters": "?hash=0x\u2026",
      "example_request": "http://sableforge.servehttp.com/api/tx",
      "example_response": {
        "hash": "0xabc",
        "status": 1,
        "from": "0x..",
        "to": "0x..",
        "value": 0.001
      }
    },
    {
      "name": "SableForge Base Address Balances",
      "url": "http://sableforge.servehttp.com/api/addr",
      "path": "/api/addr",
      "method": "GET",
      "description": "Address balances on Base (ETH + USDC). ?addr=0x..",
      "long_description": "Native ETH and USDC balances for any Base address, in one call.",
      "price_usd": 0.002,
      "price_atomic": "2000",
      "currency": "USDC",
      "network": "eip155:8453",
      "payTo": "0xa6219b4745cfe59488405bc66083660724af948b",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "scheme": "exact",
      "tags": [
        "base",
        "balance",
        "wallet"
      ],
      "category": "chain",
      "parameters": "?addr=0x\u2026",
      "example_request": "http://sableforge.servehttp.com/api/addr",
      "example_response": {
        "address": "0xabc",
        "eth": 1.2,
        "usdc": 34.5
      }
    },
    {
      "name": "SableForge URL Status & Header Check",
      "url": "http://sableforge.servehttp.com/api/urlcheck",
      "path": "/api/urlcheck",
      "method": "GET",
      "description": "Fetch a URL and report HTTP status + security headers. ?url=https://example.com",
      "long_description": "Fetch a URL and report HTTP status, redirects and security headers.",
      "price_usd": 0.002,
      "price_atomic": "2000",
      "currency": "USDC",
      "network": "eip155:8453",
      "payTo": "0xa6219b4745cfe59488405bc66083660724af948b",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "scheme": "exact",
      "tags": [
        "url",
        "web",
        "security"
      ],
      "category": "web",
      "parameters": "?url=https://example.com",
      "example_request": "http://sableforge.servehttp.com/api/urlcheck",
      "example_response": {
        "url": "https://example.com",
        "status": 200,
        "headers": {
          "content-type": "text/html"
        }
      }
    },
    {
      "name": "SableForge LLM Chat Completion",
      "url": "http://sableforge.servehttp.com/api/llm",
      "path": "/api/llm",
      "method": "POST",
      "description": "LLM chat completion (local 27B model). POST {messages:[{role,content}]} or ?prompt=",
      "long_description": "OpenAI-compatible chat completion served by a locally hosted 27B model. No data leaves our infrastructure.",
      "price_usd": 0.002,
      "price_atomic": "2000",
      "currency": "USDC",
      "network": "eip155:8453",
      "payTo": "0xa6219b4745cfe59488405bc66083660724af948b",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "scheme": "exact",
      "tags": [
        "llm",
        "ai",
        "chat"
      ],
      "category": "ai",
      "parameters": "{\"messages\":[{\"role\":\"user\",\"content\":\"\u2026\"}]}",
      "example_request": "http://sableforge.servehttp.com/api/llm",
      "example_response": {
        "model": "qwen3.8:27b",
        "content": "Hello!"
      }
    }
  ]
}
