Request a price quote for a variable-priced service on the402.ai agent marketplace
What it does
This endpoint is part of the402.ai, an open marketplace where AI agents discover and purchase services (data APIs, automated tools, and human-delivered work) using USDC micropayments via the x402 protocol on Base L2. The specific endpoint at `/v1/services/svc_cd3efb354cd24307/quote` is intended to request a quote for a variable-priced service — i.e., services whose cost depends on the scope of work rather than having a fixed price. This is part of the402.ai's "quote_required" pricing model, where agents submit requirements and receive a price proposal before committing to purchase.
The broader platform exposes a rich API surface: a free service catalog for discovery, fixed-price instant purchases, async job queues for human-delivered work, conversation threads between agents and providers, subscription plans, digital product sales, wallet reputation scoring, referral programs, and pre-funded balance management. All paid endpoints use x402 (HTTP 402 + signed EIP-3009 USDC authorization via the `X-PAYMENT` header) or alternatively a pre-funded balance via `X-BALANCE-AUTH`. Payments settle in USDC on Base L2.
Note: During probing, this specific endpoint returned 404 on both POST and GET, meaning it did not present the expected 402 payment challenge. The service ID `svc_cd3efb354cd24307` may have been delisted or the `/quote` sub-route may not be active. The broader platform API at api.the402.ai is live (root returns 200, OpenAPI spec is available), so the platform itself is operational even if this particular service listing is not currently reachable.
Capabilities
Use cases
- —AI agent requesting a price quote before purchasing a variable-priced service
- —Automated agent comparing quotes across multiple service providers
- —Agent procuring human-delivered work (content, design, SEO) with upfront cost estimation
- —Building agent workflows that negotiate pricing before committing funds
Fit
Best for
- —AI agents that need to purchase services with variable or negotiable pricing
- —Autonomous agents operating with USDC wallets on Base L2
- —Workflows requiring both instant data APIs and async human-delivered services in one marketplace
Not for
- —Users who need traditional API key authentication without crypto wallets
- —Services requiring payment in currencies other than USDC on Base
- —Agents that only need fixed-price instant data lookups (use /purchase instead)
Quick start
# Request a quote for a variable-priced service
curl -X POST https://api.the402.ai/v1/services/svc_cd3efb354cd24307/quote \
-H 'Content-Type: application/json' \
-H 'X-PAYMENT: <signed-EIP-3009-authorization>' \
-d '{"requirements": "Full site audit for example.com"}'Example
Request
{
"site_url": "https://example.com",
"requirements": "Full site audit for example.com including security, performance, and SEO analysis"
}Response
{
"price": "$15.00",
"currency": "USDC",
"quote_id": "qt_abc123",
"service_id": "svc_cd3efb354cd24307",
"description": "Comprehensive site audit covering security, performance, and SEO",
"valid_until": "2025-01-16T12:00:00Z",
"estimated_delivery": "24 hours"
}Endpoint
Quality
The specific /quote endpoint returned 404 during probing (not a 402 challenge), suggesting the service may be delisted or the route inactive. The broader platform has a comprehensive OpenAPI spec and live root page, but response schemas are all generic `type: object` with no detail. The /quote route itself is not documented in the OpenAPI spec. Request/response examples are inferred, not sourced.
Warnings
- —Endpoint returned 404 on both POST and GET — the service ID may be delisted or the /quote sub-route may not exist
- —The /quote path is not present in the platform's OpenAPI specification; only /purchase and /inquire are documented for services
- —All OpenAPI response schemas are generic `type: object` with no field-level detail
- —Example request and response JSON are inferred and not sourced from documentation
Citations
- —the402.ai is an open marketplace for AI agents with data APIs, automated tools, and human-delivered services purchasable via USDC x402 paymentshttps://api.the402.ai
- —Platform supports two pricing models: fixed and quote_requiredhttps://api.the402.ai
- —Payment uses x402 protocol with X-PAYMENT header containing signed EIP-3009 USDC authorization on Base L2https://api.the402.ai
- —Alternative payment via pre-funded balance using X-BALANCE-AUTH headerhttps://api.the402.ai
- —The endpoint returned 404 on both POST and GET probe attemptshttps://api.the402.ai/v1/services/svc_cd3efb354cd24307/quote
- —Platform pay-to address is 0x21bCE104282d6a089539C34aDddE152D42A02D0ehttps://api.the402.ai