For one operation, return the minimum set of inputs an agent must provide to make a suc…
For one operation, return the minimum set of inputs an agent must provide to make a successful call. Locate the op by `operationId` (preferred) or by `method`+`path`. Output is a single flat array tagged by `in`: `path` (always required), `query` / `header` /…
by agent402.tools · discovered, not yet claimed by its owner · updated 2026-09-30
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
For one operation, return the minimum set of inputs an agent must provide to make a successful call. Locate the op by `operationId` (preferred) or by `method`+`path`. Output is a single flat array tagged by `in`: `path` (always required), `query` / `header` / `cookie` (only when `required: true`), and `body.field` entries naming the top-level required fields of a required JSON request body.
Tags: conversion · openapi · swagger · required · params · bazaar · builder-code · payment-identifier
Call contract
- Method
- POST
- Input
- json
- Output
- json
- Last paid call
- 2026-09-30
{
"operationId": "createUser",
"spec": {
"openapi": "3.0.0",
"paths": {
"/users": {
"post": {
"operationId": "createUser",
"requestBody": {
"content": {
"application/json": {
"schema": {
"properties": {
"email": {
"type": "string"
},
"nickname": {
"type": "string"
},
"password": {
"type": "string"
}
},
"required": [
"email",
"password"
],
"type": "object"
}
}
},
"required": true
},
"responses": {
"201": {}
}
}
},
"/users/{id}": {
"get": {
"operationId": "getUser",
"parameters": [
{
"in": "path",
"name": "id",
"required": true,
"schema": {
"type": "string"
}
},
{
"in": "query",
"name": "verbose",
"required": false,
"schema": {
"type": "boolean"
}
},
{
"in": "header",
"name": "X-Trace-Id",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {}
}
}
}
}
}
}{
"bodyContentType": "application/json",
"hasBody": true,
"method": "POST",
"operationId": "createUser",
"path": "/users",
"required": [
{
"in": "body.field",
"name": "email",
"type": "string"
},
{
"in": "body.field",
"name": "password",
"type": "string"
}
]
}Use with an agent
- Discover. Agents find this listing with
GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP toolsearch_resources, or/discovery/resources. - Inspect. Fetch
/resources/28300.jsonfor the price and payment options. - Pay. Call
GET https://agent402.tools/api/openapi-required-params. The provider answers402with its payment requirements. An x402 client signs one of the options below and retries withPAYMENT-SIGNATURE. - Execute. The provider returns
200with 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, Polygon, Arbitrum One, eip155:143, Avalanche, eip155:1329, Optimism, eip155:4663, eip155:42220, Solana, stellar:pubnet, 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.002 / request
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- Base, Polygon, Arbitrum One, eip155:143, Avalanche, eip155:1329, Optimism, eip155:4663, eip155:42220, Solana, stellar:pubnet
- Demand
- 2 calls · 2 unique payers in 30d (public x402 Bazaar data)
x402 payment requirements
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|---|---|---|---|---|
| exact | Base eip155:8453 | USDC | $0.002 | 0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0 | 300s |
| exact | Polygon eip155:137 | USDC | $0.002 | 0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0 | 300s |
| exact | Arbitrum One eip155:42161 | USDC | $0.002 | 0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0 | 300s |
| exact | eip155:143 eip155:143 | 0x754704Bc059F8C67012fEd69BC8A327a5aafb603 | 2000 | 0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0 | 300s |
| exact | Avalanche eip155:43114 | 0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E | 2000 | 0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0 | 300s |
| exact | eip155:1329 eip155:1329 | 0xe15fC38F6D8c56aF07bbCBe3BAf5708A2Bf42392 | 2000 | 0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0 | 300s |
| exact | Optimism eip155:10 | 0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85 | 3000 | 0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0 | 300s |
| exact | eip155:4663 eip155:4663 | 0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168 | 2000 | 0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0 | 300s |
| exact | eip155:42220 eip155:42220 | 0xcebA9300f2b948710d2653dD7B07f33A8B32118C | 2000 | 0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0 | 300s |
| upto | Base eip155:8453 | USDC | $0.002 | 0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0 | 300s |
| exact | Solana solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp | USDC | $0.002 | J7aN3PLJnTCF5qpEnvJHJsnCjcGuqC2rYtEM8Gv3xwg | 300s |
| exact | stellar:pubnet stellar:pubnet | CCW67TSZV3SSS2HXMBQ5JFGCKJNXKZM7UQUWUZPUTHXSTZLEO7SJMI75 | 20000 | GDNJXCKW7ZM7GEEVP674TWPU26YJNBQ2FI4ZIPRKTPTNUEJMDHFJWWRL | 300s |
accepts[] (raw JSON)
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "2000",
"amountUsd": 0.002,
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "eip155:137",
"payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
"asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
"amount": "2000",
"amountUsd": 0.002,
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "eip155:42161",
"payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
"asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
"amount": "2000",
"amountUsd": 0.002,
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "eip155:143",
"payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
"asset": "0x754704Bc059F8C67012fEd69BC8A327a5aafb603",
"amount": "2000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "eip155:43114",
"payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
"asset": "0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E",
"amount": "2000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "eip155:1329",
"payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
"asset": "0xe15fC38F6D8c56aF07bbCBe3BAf5708A2Bf42392",
"amount": "2000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "eip155:10",
"payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
"asset": "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85",
"amount": "3000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "eip155:4663",
"payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
"asset": "0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168",
"amount": "2000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "eip155:42220",
"payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
"asset": "0xcebA9300f2b948710d2653dD7B07f33A8B32118C",
"amount": "2000",
"maxTimeoutSeconds": 300
},
{
"scheme": "upto",
"network": "eip155:8453",
"payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "2000",
"amountUsd": 0.002,
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"payTo": "J7aN3PLJnTCF5qpEnvJHJsnCjcGuqC2rYtEM8Gv3xwg",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "2000",
"amountUsd": 0.002,
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "stellar:pubnet",
"payTo": "GDNJXCKW7ZM7GEEVP674TWPU26YJNBQ2FI4ZIPRKTPTNUEJMDHFJWWRL",
"asset": "CCW67TSZV3SSS2HXMBQ5JFGCKJNXKZM7UQUWUZPUTHXSTZLEO7SJMI75",
"amount": "20000",
"maxTimeoutSeconds": 300
}
]Schemas
Output schema (JSON Schema)
{
"properties": {
"example": {
"properties": {
"bodyContentType": {
"type": "string"
},
"hasBody": {
"type": "boolean"
},
"method": {
"type": "string"
},
"operationId": {
"type": "string"
},
"path": {
"type": "string"
},
"required": {
"items": {
"properties": {
"in": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
}
},
"required": [
"method",
"path",
"operationId",
"required",
"hasBody",
"bodyContentType"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}Example shape — generated from the schema, not a captured live response
{
"example": {
"bodyContentType": "string",
"hasBody": true,
"method": "string",
"operationId": "string",
"path": "string",
"required": [
{
"in": "string",
"name": "string",
"type": "string"
}
]
},
"type": "string"
}Examples
curl -X POST 'https://agent402.tools/api/openapi-required-params' -H 'Content-Type: application/json' --data '{"operationId":"createUser","spec":{"openapi":"3.0.0","paths":{"/users":{"post":{"operationId":"createUser","requestBody":{"content":{"application/json":{"schema":{"properties":{"email":{"type":"string"},"nickname":{"type":"string"},"password":{"type":"string"}},"required":["email","password"],"type":"object"}}},"required":true},"responses":{"201":{}}}},"/users/{id}":{"get":{"operationId":"getUser","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}},{"in":"query","name":"verbose","required":false,"schema":{"type":"boolean"}},{"in":"header","name":"X-Trace-Id","required":true,"schema":{"type":"string"}}],"responses":{"200":{}}}}}}}'
# -> 402 Payment Required; read PAYMENT-REQUIRED
# retry the identical request with PAYMENT-SIGNATUREconst res = await fetch("https://agent402.tools/api/openapi-required-params", {
"method": "POST",
"headers": {
"content-type": "application/json"
},
"body": "{\"operationId\":\"createUser\",\"spec\":{\"openapi\":\"3.0.0\",\"paths\":{\"/users\":{\"post\":{\"operationId\":\"createUser\",\"requestBody\":{\"content\":{\"application/json\":{\"schema\":{\"properties\":{\"email\":{\"type\":\"string\"},\"nickname\":{\"type\":\"string\"},\"password\":{\"type\":\"string\"}},\"required\":[\"email\",\"password\"],\"type\":\"object\"}}},\"required\":true},\"responses\":{\"201\":{}}}},\"/users/{id}\":{\"get\":{\"operationId\":\"getUser\",\"parameters\":[{\"in\":\"path\",\"name\":\"id\",\"required\":true,\"schema\":{\"type\":\"string\"}},{\"in\":\"query\",\"name\":\"verbose\",\"required\":false,\"schema\":{\"type\":\"boolean\"}},{\"in\":\"header\",\"name\":\"X-Trace-Id\",\"required\":true,\"schema\":{\"type\":\"string\"}}],\"responses\":{\"200\":{}}}}}}}"
});
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}import httpx
import json
res = httpx.request("POST", "https://agent402.tools/api/openapi-required-params", json=json.loads("{\"operationId\":\"createUser\",\"spec\":{\"openapi\":\"3.0.0\",\"paths\":{\"/users\":{\"post\":{\"operationId\":\"createUser\",\"requestBody\":{\"content\":{\"application/json\":{\"schema\":{\"properties\":{\"email\":{\"type\":\"string\"},\"nickname\":{\"type\":\"string\"},\"password\":{\"type\":\"string\"}},\"required\":[\"email\",\"password\"],\"type\":\"object\"}}},\"required\":true},\"responses\":{\"201\":{}}}},\"/users/{id}\":{\"get\":{\"operationId\":\"getUser\",\"parameters\":[{\"in\":\"path\",\"name\":\"id\",\"required\":true,\"schema\":{\"type\":\"string\"}},{\"in\":\"query\",\"name\":\"verbose\",\"required\":false,\"schema\":{\"type\":\"boolean\"}},{\"in\":\"header\",\"name\":\"X-Trace-Id\",\"required\":true,\"schema\":{\"type\":\"string\"}}],\"responses\":{\"200\":{}}}}}}}"))
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerDetails
- Provider
- agent402.tools
- Endpoint
- https://agent402.tools/api/openapi-required-params
- Machine-readable
/resources/28300.json