RE
AI Inference · x402 · early usage

Provider cost + 6%, itemized

Provider cost + 6%, itemized. Pull requested fields out of any text as clean JSON — schema-shaped output. ≈Opus-4.8 accuracy at ~1–5% of its cost (relaystation.ai/llm-validation). One of 11 vetted sub-cent LLM tasks on Relaystation — 155 tools, one balance.

by api.relaystation.ai · discovered, not yet claimed by its owner · updated 2026-09-21

30d calls2
30d payers2
MethodPOST
Outputjson

Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.

What it does

Provider cost + 6%, itemized. Pull requested fields out of any text as clean JSON — schema-shaped output. ≈Opus-4.8 accuracy at ~1–5% of its cost (relaystation.ai/llm-validation). One of 11 vetted sub-cent LLM tasks on Relaystation — 155 tools, one balance.

Tags: structured-extraction · json · information-extraction · cheap-llm · nlp · bazaar

Call contract

Method
POST
Input
json
Output
json
Last paid call
2026-09-21
Input example from Bazaar metadata
{
  "input": "string",
  "params": {
    "schema": "string"
  },
  "tier": "budget"
}
Output example
{
  "result": "string",
  "truncated": true,
  "usage": {
    "ceilingMicros": 1,
    "chargedMicros": 1,
    "inputTokens": 1,
    "markupPct": 1,
    "model": "string",
    "outputTokens": 1,
    "providerCostMicros": 1
  }
}

Use with an agent

  1. Discover. Agents find this listing with GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP tool search_resources, or /discovery/resources.
  2. Inspect. Fetch /resources/30061.json for the price and payment options.
  3. Pay. Call GET https://api.relaystation.ai/v1/llm/extract. The provider answers 402 with its payment requirements. An x402 client signs one of the options below and retries with PAYMENT-SIGNATURE.
  4. Execute. The provider returns 200 with the data. Agent Bazaar is not in the request path and never sees your payment.

For humans

You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.

Pricing & payment

Price
$0.01 / request
Protocol
x402 v2
Auth
No account or API key. Pay per request.
Networks
Base
Demand
2 calls · 2 unique payers in 30d (public x402 Bazaar data)

x402 payment requirements

SchemeNetworkAssetAmountPay toTimeout
exactBase
eip155:8453
USDC$0.010x5F7254f252eF9b9f92B6B4F2cF91205eD7A96C7A60s
exactBase
eip155:8453
0x60a3E35Cc302bFA44Cb288Bc5a4F316Fdb1adb42100000x5F7254f252eF9b9f92B6B4F2cF91205eD7A96C7A60s
accepts[] (raw JSON)
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0x5F7254f252eF9b9f92B6B4F2cF91205eD7A96C7A",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "10000",
    "amountUsd": 0.01,
    "maxTimeoutSeconds": 60
  },
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0x5F7254f252eF9b9f92B6B4F2cF91205eD7A96C7A",
    "asset": "0x60a3E35Cc302bFA44Cb288Bc5a4F316Fdb1adb42",
    "amount": "10000",
    "maxTimeoutSeconds": 60
  }
]

Schemas

Output schema (JSON Schema)
{
  "properties": {
    "example": {
      "properties": {
        "result": {
          "description": "The task output text (or JSON string for extract/json_repair).",
          "type": "string"
        },
        "truncated": {
          "description": "True when the output hit the per-task token cap; the charge still stands.",
          "type": "boolean"
        },
        "usage": {
          "properties": {
            "ceilingMicros": {
              "description": "The authorized ceiling the 402/hold reserved.",
              "type": "integer"
            },
            "chargedMicros": {
              "description": "The actual charged amount (<= ceiling).",
              "type": "integer"
            },
            "inputTokens": {
              "type": "integer"
            },
            "markupPct": {
              "type": "number"
            },
            "model": {
              "type": "string"
            },
            "outputTokens": {
              "type": "integer"
            },
            "providerCostMicros": {
              "type": "integer"
            }
          },
          "required": [
            "model",
            "inputTokens",
            "outputTokens",
            "providerCostMicros",
            "markupPct",
            "chargedMicros",
            "ceilingMicros"
          ],
          "type": "object"
        }
      },
      "required": [
        "result",
        "truncated",
        "usage"
      ],
      "type": "object"
    },
    "type": {
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "type": "object"
}
Example shape — generated from the schema, not a captured live response
{
  "example": {
    "result": "string",
    "truncated": true,
    "usage": {
      "ceilingMicros": 0,
      "chargedMicros": 0,
      "inputTokens": 0,
      "markupPct": 0,
      "model": "string",
      "outputTokens": 0,
      "providerCostMicros": 0
    }
  },
  "type": "string"
}

Examples

curl
curl -X POST 'https://api.relaystation.ai/v1/llm/extract' -H 'Content-Type: application/json' --data '{"input":"string","params":{"schema":"string"},"tier":"budget"}'
# -> 402 Payment Required; read PAYMENT-REQUIRED
# retry the identical request with PAYMENT-SIGNATURE
JavaScript
const res = await fetch("https://api.relaystation.ai/v1/llm/extract", {
  "method": "POST",
  "headers": {
    "content-type": "application/json"
  },
  "body": "{\"input\":\"string\",\"params\":{\"schema\":\"string\"},\"tier\":\"budget\"}"
});
if (res.status === 402) {
  const { accepts } = await res.json();
  // pay one of accepts[] via an x402 client, then retry with the payment header
}
Python
import httpx
import json
res = httpx.request("POST", "https://api.relaystation.ai/v1/llm/extract", json=json.loads("{\"input\":\"string\",\"params\":{\"schema\":\"string\"},\"tier\":\"budget\"}"))
if res.status_code == 402:
    accepts = res.json()["accepts"]
    # pay one of accepts[] via an x402 client, then retry with the payment header

Details

Provider
api.relaystation.ai
Endpoint
https://api.relaystation.ai/v1/llm/extract
Machine-readable
/resources/30061.json