API · x402

long.events/functions/v1/api-events

No description provided.

by long.events · verified provider · updated 2026-09-24

What it does

No description provided.

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/20006.json for the price and payment options.
  3. Pay. Call GET https://long.events/functions/v1/api-events. 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, eip155:56, 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.005 / request
Protocol
x402 v2
Auth
No account or API key. Pay per request.
Networks
Base, eip155:56

x402 payment requirements

SchemeNetworkAssetAmountPay toTimeout
exactBase
eip155:8453
USDC$0.0050x1a4CE63EEF34E46eE63F410E667Bd27a52954ab7300s
long-events-stable-txhasheip155:56
eip155:56
0x55d398326f99059ff775485246999027b3197955500000000000000000x1a4CE63EEF34E46eE63F410E667Bd27a52954ab7300s
long-events-stable-txhasheip155:56
eip155:56
0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d500000000000000000x1a4CE63EEF34E46eE63F410E667Bd27a52954ab7300s
long-events-stable-txhasheip155:56
eip155:56
0x8d0d000ee44948fc98c9b98a4fa4921476f08b0d500000000000000000x1a4CE63EEF34E46eE63F410E667Bd27a52954ab7300s
long-events-txhasheip155:56
eip155:56
0x9eca8dedb4882bd694aea786c0cbe770e70d52e3592712013087081248960x1a4CE63EEF34E46eE63F410E667Bd27a52954ab7300s
accepts[] (raw JSON)
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0x1a4CE63EEF34E46eE63F410E667Bd27a52954ab7",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "5000",
    "amountUsd": 0.005,
    "maxTimeoutSeconds": 300
  },
  {
    "scheme": "long-events-stable-txhash",
    "network": "eip155:56",
    "payTo": "0x1a4CE63EEF34E46eE63F410E667Bd27a52954ab7",
    "asset": "0x55d398326f99059ff775485246999027b3197955",
    "amount": "50000000000000000",
    "maxTimeoutSeconds": 300
  },
  {
    "scheme": "long-events-stable-txhash",
    "network": "eip155:56",
    "payTo": "0x1a4CE63EEF34E46eE63F410E667Bd27a52954ab7",
    "asset": "0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d",
    "amount": "50000000000000000",
    "maxTimeoutSeconds": 300
  },
  {
    "scheme": "long-events-stable-txhash",
    "network": "eip155:56",
    "payTo": "0x1a4CE63EEF34E46eE63F410E667Bd27a52954ab7",
    "asset": "0x8d0d000ee44948fc98c9b98a4fa4921476f08b0d",
    "amount": "50000000000000000",
    "maxTimeoutSeconds": 300
  },
  {
    "scheme": "long-events-txhash",
    "network": "eip155:56",
    "payTo": "0x1a4CE63EEF34E46eE63F410E667Bd27a52954ab7",
    "asset": "0x9eca8dedb4882bd694aea786c0cbe770e70d52e3",
    "amount": "59271201308708124896",
    "maxTimeoutSeconds": 300
  }
]

Examples

curl
curl "https://long.events/functions/v1/api-events"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://long.events/functions/v1/api-events");
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://long.events/functions/v1/api-events")
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
long.events
Endpoint
https://long.events/functions/v1/api-events
Machine-readable
/resources/20006.json