{
  "x402Version": 2,
  "id": 1560,
  "slug": "1560",
  "resource": "https://agent402.tools/api/bestsellers",
  "description": "What agents actually pay for on a 500+ tool x402 catalog - the paid intelligence layer over Agent402's own sales ledger, the one demand signal that never reaches the chain (settlements are on-chain; WHICH tool was bought is not). Aggregate sales totals are free at /api/sales; this adds the per-tool layer they deliberately omit: pick the window (days 1-90) and the ranking lens with sort: 'buyers' (distinct paying wallets, default - the whale/wash-resistant read), 'sales' (volume), 'usd'.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:137",
      "payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
      "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
      "amount": "5000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:42161",
      "payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
      "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
      "amount": "5000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:143",
      "payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
      "asset": "0x754704Bc059F8C67012fEd69BC8A327a5aafb603",
      "amount": "5000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:43114",
      "payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
      "asset": "0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E",
      "amount": "5000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:1329",
      "payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
      "asset": "0xe15fC38F6D8c56aF07bbCBe3BAf5708A2Bf42392",
      "amount": "5000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:10",
      "payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
      "asset": "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85",
      "amount": "6000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:4663",
      "payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
      "asset": "0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168",
      "amount": "5000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:42220",
      "payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
      "asset": "0xcebA9300f2b948710d2653dD7B07f33A8B32118C",
      "amount": "5000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "upto",
      "network": "eip155:8453",
      "payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "J7aN3PLJnTCF5qpEnvJHJsnCjcGuqC2rYtEM8Gv3xwg",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "5000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "stellar:pubnet",
      "payTo": "GDNJXCKW7ZM7GEEVP674TWPU26YJNBQ2FI4ZIPRKTPTNUEJMDHFJWWRL",
      "asset": "CCW67TSZV3SSS2HXMBQ5JFGCKJNXKZM7UQUWUZPUTHXSTZLEO7SJMI75",
      "amount": "50000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "algorand:wGHE2Pwdvd7S12BL5FaOP20EGYesN73ktiC1qzkkit8=",
      "payTo": "C7IIHG7SPLPZ5H7ZT6HW3UV2OQMQQE6Y2HBNGZXSLRJULE42BEE2OY2XIE",
      "asset": "31566704",
      "amount": "5000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "days": 30,
            "limit": 10,
            "sort": "buyers"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "bestsellers": [
              {
                "avgTicketUsd": 0.004,
                "buyers": 6,
                "deltaSales": 11,
                "firstAt": "2026-07-05T11:00:00.000Z",
                "lastAt": "2026-07-14T09:30:00.000Z",
                "organicScore": 0.4286,
                "prevSales": 3,
                "rank": 1,
                "revenueShare": 0.0966,
                "revenueUsd": 0.056,
                "sales": 14,
                "slug": "vin-decode",
                "trend": "rising"
              }
            ],
            "days": 30,
            "generatedAt": "2026-07-16T00:00:05.000Z",
            "limit": 10,
            "note": "External paid demand only - canary/burner/heartbeat traffic excluded at the source.",
            "persistent": true,
            "recordingSince": "2026-07-04T00:00:00.000Z",
            "sort": "buyers",
            "totals": {
              "distinctTools": 12,
              "revenueUsd": 0.58,
              "sales": 63
            }
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "days": {
                    "description": "Aggregation window in days, 1-90 (default 30). The trend compares against the same-length window immediately before it.",
                    "type": "integer"
                  },
                  "limit": {
                    "description": "How many tools to return (1-50, default 10)",
                    "type": "integer"
                  },
                  "sort": {
                    "description": "Ranking lens: buyers=distinct paying wallets (default, whale-resistant), sales=volume, usd=revenue, organic=organicScore (buyer diversity)",
                    "enum": [
                      "buyers",
                      "sales",
                      "usd",
                      "organic"
                    ],
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "bestsellers": {
                    "type": "array"
                  },
                  "days": {
                    "type": "integer"
                  },
                  "generatedAt": {
                    "type": "string"
                  },
                  "limit": {
                    "type": "integer"
                  },
                  "note": {
                    "type": "string"
                  },
                  "persistent": {
                    "type": "boolean"
                  },
                  "recordingSince": {
                    "type": "string"
                  },
                  "sort": {
                    "type": "string"
                  },
                  "totals": {
                    "type": "object"
                  }
                },
                "required": [
                  "days",
                  "sort",
                  "limit",
                  "recordingSince",
                  "persistent",
                  "totals",
                  "bestsellers",
                  "note",
                  "generatedAt"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "builder-code": {
      "info": {
        "a": "bc_b4aw4uzd"
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "a": {
            "description": "App builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          },
          "s": {
            "description": "Service builder codes",
            "items": {
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            },
            "maxItems": 11,
            "type": "array"
          },
          "w": {
            "description": "Wallet builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          }
        },
        "type": "object"
      }
    },
    "payment-identifier": {
      "info": {
        "required": false
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "id": {
            "maxLength": 128,
            "minLength": 16,
            "pattern": "^[a-zA-Z0-9_-]+$",
            "type": "string"
          },
          "required": {
            "type": "boolean"
          }
        },
        "required": [
          "required"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar",
    "builder-code",
    "payment-identifier"
  ],
  "sourceHost": "agent402.tools",
  "lastUpdated": "2026-09-15T14:14:56.362Z",
  "quality": {
    "calls30d": 225,
    "uniquePayers30d": 24,
    "lastCalledAt": "2026-09-15T14:14:56.131Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "agent402.tools",
    "manifest_name": "agent402.tools",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}