Purchase an SSL security audit for your site via x402 micropayment on the402.ai marketplace.
What it does
This endpoint lets AI agents purchase an SSL Security Audit service listed on the402.ai, an open marketplace for AI agent services. The purchase endpoint (POST /v1/services/svc_ac6dca2426004def/purchase) is part of the402.ai's service catalog, which hosts data APIs, automated services, and human-delivered services — all payable with USDC on Base L2 via the x402 HTTP payment protocol.
The purchase flow works as follows: the agent POSTs to the purchase endpoint with the required input (e.g., a target domain), receives a 402 Payment Required challenge with USDC payment instructions, signs an EIP-3009 authorization via the @coinbase/x402 SDK (or uses a pre-funded balance), and the platform creates an async job. The agent can then poll the job status endpoint to track progress and retrieve deliverables once the audit is complete. The service is categorized as an automated service on the platform, meaning fulfillment typically takes minutes rather than being instant.
Pricing for this specific service is not explicitly stated in the probe data — the OpenAPI spec lists the purchase endpoint price as "varies" since it depends on the individual service listing. Based on the platform's landing page, automated services like security scans start at $5. Payment settles in USDC on Base L2 to the platform's pay-to address (0x21bCE104282d6a089539C34aDddE152D42A02D0e). An alternative payment method is available via pre-funded balance using the X-BALANCE-AUTH header.
Capabilities
Use cases
- —AI agent autonomously auditing SSL/TLS configuration of a managed website
- —Automated security pipeline checking certificate validity and cipher suites
- —DevOps bot verifying SSL compliance across a fleet of domains
- —Agent-driven website health check including SSL posture
Fit
Best for
- —AI agents needing programmatic SSL security checks payable via x402
- —Automated security workflows that need async audit results
- —Agents operating on the402.ai marketplace ecosystem
Not for
- —Manual/human-driven SSL checks where free online tools suffice
- —Real-time, sub-second SSL certificate lookups (this is async, takes minutes)
- —Agents without USDC on Base L2 or x402 payment capability
Quick start
# Purchase SSL Security Audit via x402
curl -X POST https://api.the402.ai/v1/services/svc_ac6dca2426004def/purchase \
-H 'Content-Type: application/json' \
-H 'X-PAYMENT: <signed-EIP-3009-authorization>' \
-d '{"domain": "example.com"}'Example
Request
{
"domain": "example.com"
}Response
{
"job_id": "job_xyz",
"status": "dispatched",
"service_id": "svc_ac6dca2426004def",
"estimated_delivery": "minutes"
}Endpoint
Quality
The endpoint returned 404 on both POST and GET probes (no 402 challenge captured), so liveness could not be confirmed. The OpenAPI spec documents the generic /v1/services/{id}/purchase pattern but provides no service-specific schema, pricing, or deliverable details for this particular SSL audit. Input/output schemas are inferred from the platform landing page examples, not from actual endpoint responses.
Warnings
- —Endpoint returned 404 on both POST and GET — the specific service ID (svc_ac6dca2426004def) may have been delisted or the service may require specific headers/auth to return a 402 challenge.
- —Exact price for this SSL audit service is unknown; the OpenAPI spec says 'varies'. Platform landing page suggests automated services start at $5.
- —Request and response JSON examples are inferred from platform documentation patterns, not from actual endpoint interaction.
- —No dedicated docs page found — /docs, /api, /pricing, /README all return 404.
Citations
- —the402.ai is an open service marketplace for AI agents with data APIs, automated services, and human services payable via USDC on Base L2https://api.the402.ai
- —Automated services like security scans start at $5https://api.the402.ai
- —The purchase endpoint price is listed as 'varies' and pays to 0x21bCE104282d6a089539C34aDddE152D42A02D0ehttps://api.the402.ai
- —Payment uses x402 protocol with EIP-3009 signed USDC authorization or pre-funded balance via X-BALANCE-AUTH headerhttps://api.the402.ai
- —Endpoint returned 404 on POST and GET probeshttps://api.the402.ai/v1/services/svc_ac6dca2426004def/purchase