Skip to main content
AgentCash can discover what endpoints are available on any x402-compatible origin, along with their pricing and schemas.

Discover endpoints on an origin

Ask your agent:
Discover available endpoints on stableenrich.dev using AgentCash.
Or use the CLI:
npx agentcash discover https://stableenrich.dev
This fetches the discovery document from the origin and returns a list of endpoints with their descriptions and pricing.

Known origins

AgentCash ships with a set of pre-indexed origins:
OriginDescription
stableenrich.devCompany and contact enrichment via Apollo, Exa, Serper, and more
stablesocial.devSocial media data (Instagram, TikTok, YouTube, Reddit, Facebook)
stablestudio.devImage and video generation
stableupload.devFile hosting
stableemail.devEmail sending
These are available immediately without needing to discover them first.

Check a specific endpoint

To inspect a single endpoint’s pricing and schema without paying:
Check the schema for POST https://stableenrich.dev/api/company/lookup using AgentCash.
Or via CLI:
npx agentcash check https://stableenrich.dev/api/company/lookup
This returns:
  • Price: how much the call costs in USDC
  • Methods: which HTTP methods are supported
  • Input schema: expected request body format
  • Output schema: response format
  • Auth type: whether it uses x402, SIWX, or other auth

Discovery protocol

x402 endpoints advertise themselves via a standard discovery document at /.well-known/x402. This document follows the OpenAPI format and includes pricing metadata alongside the standard API schema. Any server that publishes a /.well-known/x402 document is automatically discoverable by AgentCash.