ST
Utilities · x402 · early usage

Function marketplace for AI agents

Function marketplace for AI agents. Browse economic data, computed signals, and deterministic functions across 12 categories. Pay per call in USDC on Base via x402. No API keys, no subscriptions. Search the catalog free at /discover/search, inspect before buy…

by stationfx.com · discovered, not yet claimed by its owner · updated 2026-09-21

30d calls52
30d payers1
MethodGET
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

Function marketplace for AI agents. Browse economic data, computed signals, and deterministic functions across 12 categories. Pay per call in USDC on Base via x402. No API keys, no subscriptions. Search the catalog free at /discover/search, inspect before buying at /discover/{listing_id}, pay only to query.

Tags: function-marketplace · economic-data · time-series · x402 · ai-agents · bazaar

Call contract

Method
GET
Input
query parameters
Output
json
Last paid call
2026-09-22
Input example from Bazaar metadata
{
  "date_from": "2024-01-01",
  "date_to": "2024-12-31",
  "fmt": "json"
}
Output example
{
  "data": [
    {
      "date": "2024-01-01",
      "mom_pct": 0,
      "trend_direction": 1,
      "value": 5.33,
      "yoy_change": 0.5,
      "zscore_12m": 1.2
    }
  ],
  "meta": {
    "frequency": "M",
    "source_key": "SERIES_ID"
  }
}

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/30459.json for the price and payment options.
  3. Pay. Call GET https://stationfx.com/query/:id. 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.008 / request
Protocol
x402 v2
Auth
No account or API key. Pay per request.
Networks
Base
Demand
52 calls · 1 unique payers in 30d (public x402 Bazaar data)

x402 payment requirements

SchemeNetworkAssetAmountPay toTimeout
exactBase
eip155:8453
USDC$0.0080x22f7e9518dff04a5db1fddaabc0e001b8c425b3a300s
accepts[] (raw JSON)
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0x22f7e9518dff04a5db1fddaabc0e001b8c425b3a",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "8000",
    "amountUsd": 0.008,
    "maxTimeoutSeconds": 300
  }
]

Schemas

Output schema (JSON Schema)
{
  "properties": {
    "example": {
      "description": "Station f(x) response with metadata and pre-computed derived metrics",
      "properties": {
        "data": {
          "description": "Observations ordered by date ascending",
          "items": {
            "properties": {
              "above_trend": {
                "description": "1 if value is above long-run trend, else 0",
                "type": "integer"
              },
              "date": {
                "description": "Observation date YYYY-MM-DD",
                "type": "string"
              },
              "mom_change": {
                "description": "Month-over-month absolute change",
                "type": "number"
              },
              "mom_pct": {
                "description": "Month-over-month % change",
                "type": "number"
              },
              "pct_rank_5y": {
                "description": "Percentile rank over trailing 5 years (0-100)",
                "type": "number"
              },
              "rolling_12m_avg": {
                "description": "12-month rolling average",
                "type": "number"
              },
              "rolling_3m_avg": {
                "description": "3-month rolling average",
                "type": "number"
              },
              "trend_direction": {
                "description": "Trend: 1 rising, -1 falling, 0 flat",
                "type": "integer"
              },
              "value": {
                "description": "Raw observed value in series units",
                "type": "number"
              },
              "yoy_change": {
                "description": "Year-over-year absolute change",
                "type": "number"
              },
              "yoy_pct": {
                "description": "Year-over-year % change",
                "type": "number"
              },
              "zscore_12m": {
                "description": "Z-score relative to trailing 12 months",
                "type": "number"
              },
              "zscore_5y": {
                "description": "Z-score relative to trailing 5 years",
                "type": "number"
              }
            },
            "type": "object"
          },
          "type": "array"
        },
        "meta": {
          "description": "Series metadata: source_key (FRED series ID), units, frequency (D/W/M/Q/A), date_from, date_to, fields",
          "type": "object"
        }
      },
      "type": "object"
    },
    "type": {
      "description": "Response format. Always \"json\" (or \"toon\" if fmt=toon was requested)",
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "type": "object"
}
Example shape — generated from the schema, not a captured live response
{
  "example": {
    "data": [
      {
        "above_trend": 0,
        "date": "string",
        "mom_change": 0,
        "mom_pct": 0,
        "pct_rank_5y": 0,
        "rolling_12m_avg": 0,
        "rolling_3m_avg": 0,
        "trend_direction": 0,
        "value": 0,
        "yoy_change": 0,
        "yoy_pct": 0,
        "zscore_12m": 0,
        "zscore_5y": 0
      }
    ],
    "meta": {}
  },
  "type": "string"
}

Examples

curl
curl "https://stationfx.com/query/:id"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://stationfx.com/query/:id");
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
res = httpx.get("https://stationfx.com/query/:id")
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
stationfx.com
Endpoint
https://stationfx.com/query/:id
Machine-readable
/resources/30459.json