81trust / 100

X402 Bazaar Rank

by Bazaar listing rank check in Search & web

x402 APIPassing, checked 3 h ago

Bazaar SEO for x402 sellers: where your endpoint ranks in Coinbase Bazaar search and what to fix. Where does your x402 endpoint come up when an agent searches Coinbase's Bazaar? Pass ?url= and optionally &query= (up to 3; left out, your own tags are searched). For each search: your rank in the top 20, the sellers above you with their price, tags and 30-day payers, the median price, and the concrete fixes (serviceName, tags, the words your description opens with).

GET https://apexfaucet.xyz/api/x402/x402-bazaar-rank

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
87 ms typical, 87 ms slowest 5%
Last check
3 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://apexfaucet.xyz/api/x402/x402-bazaar-rank?query=erc20+balance&url=https%3A%2F%2Fapi.onesource.io%2Fapi%2Fchain%2Ferc20-balance"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.03:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapexfaucet.xyz%2Fapi%2Fx402%2Fx402-bazaar-rank
const res = await pay("https://apexfaucet.xyz/api/x402/x402-bazaar-rank?query=erc20+balance&url=https%3A%2F%2Fapi.onesource.io%2Fapi%2Fchain%2Ferc20-balance");
console.log(await res.json());

Example input

{
  "query": "erc20 balance",
  "url": "https://api.onesource.io/api/chain/erc20-balance"
}

Example output

{
  "data": {
    "fixes": [
      "add resource.serviceName: a short name in the words a buyer types",
      "add resource.tags: 4-8 lowercase keywords"
    ],
    "queries": [
      "erc20 balance"
    ],
    "results": [
      {
        "cheaperThanYou": 8,
        "medianPriceUsd": 0.003,
        "query": "erc20 balance",
        "resultsShown": 17,
        "yourRank": 1
      }
    ],
    "url": "https://api.onesource.io/api/chain/erc20-balance",
    "you": {
      "priceUsd": 0.003,
      "serviceName": null,
      "tags": []
    }
  },
  "ok": true,
  "paid": 0.005
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed40287 ms$0.005