You don't need to install a single API, key, or framework. The whole point of x402 and agentic.market is that you give your agent a wallet once - and after that, you just ask it questions in plain language. The agent discovers the SwapHunt service itself, pays a few cents per call in USDC, and answers you.

The service is live: agentic.market/services/x402-swaphunt-dev.

Key Takeaways

  • Agentic payments remove the friction layer between asking a question and getting market data - no API keys, no subscriptions, no rate limits per developer account
  • A single Agentic Wallet, funded once with a few dollars of USDC on Base, handles hundreds of SwapHunt queries at $0.001–$0.005 each
  • The shift is structural: instead of integrating APIs by hand, agents discover and compose paid endpoints at the moment of the question
  • This changes what's worth building - composable research, automated market reads, and on-demand context become cheap enough to be casual

The Finished Flow

You: "What's the price of SOL right now in EUR? And is the market in fear or greed?"

The agent: (finds x402.swaphunt.dev via the Bazaar → pays $0.001 + $0.001 in USDC →)
"SOL is at €142.30 (+3.1% on 24h). The Fear & Greed Index is 38 - Fear."

No API key. No SwapHunt account. The agent handles discovery and payment itself.

One observation a week on liquidity, flow, and structure. 4 minutes. No price calls.

Subscribe →

One-Time Setup (2 Minutes)

Your agent needs an Agentic Wallet - a wallet built for the agent by Coinbase - with a small amount of USDC on Base. How you set it up depends on which agent you use.

Terminal Agents - Claude Code, Codex CLI, Gemini CLI, Cursor

npx awal status          # already set up? you're done
npx awal auth login [email protected]   # → 6-digit code arrives in mail
npx awal show            # opens the wallet UI: buy or deposit some USDC (Base)
npx awal balance         # confirm USDC has arrived

Chat Agents - Claude Desktop, ChatGPT, Cherry Studio

Ask the agent: "Set up my Agentic Wallet." It walks you through running one line in your terminal (npx @coinbase/payments-mcp) and restarting the app. After that, it has a wallet and can pay.

You only need to fund the wallet with small amounts - SwapHunt calls cost $0.001–$0.005 each. A single dollar of USDC covers hundreds of queries.

How the Agent Learns About SwapHunt

You do nothing manually. Two things happen on their own.

Discovery. SwapHunt publishes its routes on agentic.market's Bazaar with rich descriptions, so the agent can read what each endpoint does and pick the right one for the question.

Skill. If your agent doesn't already know x402, paste this line into the chat once:

Read https://agentic.market/SKILL.md and use it to find and pay for x402 services.

The agent now knows how to discover and pay. From then on, you just ask in plain language.

Example Prompts You Can Use

Write naturally. The agent matches your question to the right endpoint by itself.

You write … Agent calls (on its own)
"What does BTC cost right now in EUR?" GET /v1/tools/price?asset=BTC&currency=EUR
"What coins can SwapHunt price?" GET /v1/tools/price/supported (437 coins)
"Is the market in fear or greed?" GET /v1/market/fear-greed
"Is ETH already overextended - am I late?" GET /v1/fomo/how-late-am-i?symbol=ETH
"Is this a real breakout over $70K on BTC?" GET /v1/sanity/is-this-a-breakout?symbol=BTC&level=70000
"How much of today's range has SOL used?" GET /v1/cycle/daily-range-used?asset=SOL
"What trading session are we in, and is there liquidity?" /v1/context/session + /v1/context/weekend-liquidity

You don't need to know the path names. The table is only there to show that the agent is translating your question into the right paid call.

Why This Matters for Traders

The friction layer between a question and an answer used to be the API. You signed up, generated a key, read the docs, hit rate limits, paid a monthly subscription whether you used it heavily or barely at all. The cost of asking "is this overextended?" was high enough that you didn't ask casually - you batched questions, you cached responses, you built dashboards instead of asking.

Agentic payments invert that. The cost of a single market read is now a fraction of a cent, paid only when you actually need it. The cost of asking is approximately the same as the cost of not asking. That changes the rhythm of how traders interact with data.

It also removes the integration tax. You don't need an OpenAPI spec, an SDK, a sandbox environment. The agent reads the endpoint description on the Bazaar and figures out the call itself. What used to be a developer workflow becomes a conversation.

The Structural Shift

There's a difference between an API that an agent can call and a service designed for agentic commerce. Traditional APIs assume a long-lived developer relationship: signup, authentication, billing, support. The unit of cost is the account, not the question.

x402 makes the unit of cost the request itself. SwapHunt doesn't know who is calling - it knows that a request arrived with valid payment attached. The agent doesn't know who is providing the answer - it knows that the Bazaar listed an endpoint matching its question and that payment cleared.

This is what composability looks like when payment is built in at the protocol layer. An agent assembling an answer to "what's the structural read on ETH right now?" can pay three different services - price, regime, sentiment - without negotiating three separate contracts, three sets of credentials, three billing cycles. The composition happens at the moment of the question.

For market data specifically, the implication is that reading the market becomes cheap and casual. The expensive part of trading was never the data - it was the interpretation. When the data is one sentence away, the interpretation work gets to happen more often, on more questions, at lower stakes.

What You Can Build Now

Three patterns worth thinking about:

Composable research. A single agent assembles answers across multiple endpoints - price, range usage, session context, fear & greed - paying per call. No upfront contracts. The agent picks what to query based on the question you actually asked, not what you guessed in advance.

On-demand market reads. Instead of always-on dashboards, you ask for a read when you need one. "Is the market in a chop regime right now?" is a single call. The cost matches the casualness of the question.

Automated signal pipelines. A scheduled agent runs every hour, paying $0.005 to check whether something has shifted structurally. If nothing has changed, it doesn't notify you. If something has, you get a sentence-long summary. The economics work because the cost is bounded and predictable.

The common thread is that the unit of work - and the unit of cost - has dropped to the level of the individual question. That's a different design space than rate-limited APIs allow.

Want to Test Without an Agent at All?

Pure terminal test of the exact same payment flow, one line, no framework:

npx awal x402 pay "https://x402.swaphunt.dev/v1/tools/price?asset=BTC&currency=EUR"
npx awal x402 pay "https://x402.swaphunt.dev/v1/tools/price/supported"

Same wallet, same payment, same response. The difference is just whether you or the agent decided what to ask for.

Related Concepts