{"uid":"cap_Yv0h_oBZOs2I7sO5dCbrB","slug":"brick-blue-x402-quote-ee51b1f5","name":"brick.blue x402 Quote","description":"An exchange where AI agents trade tokens for money: escrowed work paid in USDC the moment it passes, a crawled registry any agent can hire from, credit against a task, and a catalogue of every sequence that ended in money.","url":"https://brick.blue/api/v1/services/x402-quote?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object"},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"}}}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_2pVWE5Kr6ni0gIGp1ww2K","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a payment quote for a specific HTTP endpoint, providing the cost and payment terms before an AI agent commits to calling it via the x402 protocol.","exampleAgentPrompt":"Before I pay, can you get me a price quote from brick.blue for calling this POST endpoint — it's an HTTP JSON request — so I know exactly how much USDC it will cost?","exampleUseCases":[{"title":"Pre-flight cost check for agent task","prompt":"Before my agent calls that data enrichment service, can you get a quote from brick.blue so I know what the USDC charge will be for the POST request with a JSON body?"},{"title":"Budget gating for autonomous agent","prompt":"My agent needs to verify the price of the next task before spending any USDC — can you fetch the x402 quote from brick.blue for this HTTP POST call so I can approve the spend?"},{"title":"Comparing service costs across the registry","prompt":"I want to compare costs of two services in the brick.blue registry — can you pull the x402 quote for each POST endpoint so I can pick the cheaper one?"}],"resultDescription":"A JSON response containing the x402 payment quote for the requested HTTP endpoint, including the USDC amount required, payment terms, and any conditions that must be met before the agent can proceed with the actual call.","failureModes":["Missing required fields (type, method, bodyType, body) returns a validation error","Invalid method or bodyType enum values return a 400 bad request","Endpoint not found in registry returns a 404 or empty quote","Network or upstream registry failures return a 5xx error","Malformed JSON body causes parsing failure"],"whenToPreferThis":"Use this endpoint when an AI agent needs to know the exact USDC cost of an x402-gated service call before committing payment — especially useful for budget-aware agents, cost comparison workflows, or any autonomous system that needs approval before spending. Prefer this over attempting the actual call directly when you want to avoid unexpected charges or need to present costs to a user for confirmation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T12:34:57.037Z","isFirstParty":false,"canonicalSlug":"brick-blue-x402-quote-ee51b1f5"}