{
 "x402Version": 2,
 "resources": [
  {
   "url": "https://base-risk-feed.restockalarm.workers.dev/v1/feed-pro",
   "description": "Fresh new Base tokens with the FULL risk report (score breakdown, top holders incl. lockers/vaults, liquidity across all pools, contract flags), no 30-minute delay. Poll cheaply with ?since=<next_cursor>. $0.01 USDC via x402 (Base or Polygon). No charge for failed calls.",
   "accepts": [
    {
     "scheme": "exact",
     "network": "eip155:8453",
     "payTo": "0x7B97303d62517eA9E26D1E1b199Eac42a487F430",
     "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
     "amount": "10000",
     "maxTimeoutSeconds": 120
    },
    {
     "scheme": "exact",
     "network": "eip155:137",
     "payTo": "0x7B97303d62517eA9E26D1E1b199Eac42a487F430",
     "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
     "amount": "10000",
     "maxTimeoutSeconds": 120
    }
   ],
   "tags": [
    "base",
    "token-risk",
    "new-tokens",
    "feed",
    "crypto",
    "x402"
   ],
   "extensions": {
    "bazaar": {
     "info": {
      "input": {
       "type": "http",
       "queryParams": {
        "limit": "20"
       }
      },
      "output": {
       "type": "json",
       "example": {
        "chain": "base",
        "count": 1,
        "limit": 20,
        "since": "2026-10-28T15:00:00.000Z",
        "next_cursor": "2026-10-28T15:40:48.218Z",
        "has_more": false,
        "delay_minutes": 0,
        "items": [
         {
          "address": "0xdb4274e52bdd18e492035696388c2c1af3a2b68b",
          "symbol": "EXAMPLE",
          "dex": "Uniswap V3",
          "pool_created_at": "2026-10-28T15:21:00.000Z",
          "liquidity_band": "$1k-$10k",
          "checked_at": "2026-10-28T15:40:48.218Z",
          "score": 62,
          "verdict": "caution",
          "report": {
           "score": 62,
           "score_breakdown": {
            "liquidity": 25,
            "holder_concentration": 22,
            "contract_trading": 10,
            "pool_age": 5,
            "news_sentiment": 0
           },
           "liquidity": {
            "level": "thin",
            "band": "$1k-$10k",
            "pools_counted": 1,
            "top_pool": {
             "address": "0x…",
             "share_pct": 100
            },
            "derived_from": "geckoterminal"
           },
           "liquidity_risk": {
            "level": "high",
            "band": "$1k-$10k",
            "pools": 1
           },
           "holder_concentration": {
            "level": "high",
            "top5": [
             {
              "address": "0x…",
              "pct": 41.2,
              "type": "wallet"
             },
             {
              "address": "0x…",
              "pct": 12,
              "type": "locker",
              "label": "UNCX"
             }
            ]
           },
           "contract_flags": {
            "sell_blocked": false,
            "buy_tax_pct": 0,
            "sell_tax_pct": 0,
            "mintable": true,
            "blacklist": false,
            "flags": [
             "mintable"
            ]
           }
          }
         }
        ]
       }
      }
     },
     "schema": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "type": "object",
      "properties": {
       "input": {
        "type": "object",
        "properties": {
         "type": {
          "type": "string",
          "const": "http"
         },
         "method": {
          "type": "string",
          "enum": [
           "GET",
           "HEAD",
           "DELETE"
          ]
         },
         "queryParams": {
          "type": "object",
          "properties": {
           "since": {
            "type": "string",
            "description": "ISO timestamp, unix time or next_cursor"
           },
           "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50
           }
          }
         }
        },
        "required": [
         "type",
         "method"
        ],
        "additionalProperties": false
       },
       "output": {
        "type": "object",
        "properties": {
         "type": {
          "type": "string"
         },
         "example": {
          "type": "object"
         }
        },
        "required": [
         "type"
        ]
       }
      },
      "required": [
       "input"
      ]
     }
    }
   }
  },
  {
   "url": "https://base-risk-feed.restockalarm.workers.dev/v1/feed-pro-pack",
   "description": "Credit pack: one $0.02 x402 payment returns an X-API-Key with 40 credits = 20 feed-pro calls (2 credits per call), valid 7 days. $0.02 USDC via x402 (Base or Polygon). No charge for failed calls.",
   "accepts": [
    {
     "scheme": "exact",
     "network": "eip155:8453",
     "payTo": "0x7B97303d62517eA9E26D1E1b199Eac42a487F430",
     "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
     "amount": "20000",
     "maxTimeoutSeconds": 120
    },
    {
     "scheme": "exact",
     "network": "eip155:137",
     "payTo": "0x7B97303d62517eA9E26D1E1b199Eac42a487F430",
     "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
     "amount": "20000",
     "maxTimeoutSeconds": 120
    }
   ],
   "tags": [
    "api-key",
    "credit-pack",
    "base-risk-feed"
   ],
   "extensions": {
    "bazaar": {
     "info": {
      "input": {
       "type": "http",
       "queryParams": {}
      },
      "output": {
       "type": "json",
       "example": {
        "key": "sck_…",
        "calls": 20,
        "credits": 40,
        "credits_per_call": 2,
        "expires_at": "2026-11-04T00:00:00.000Z",
        "header": "X-API-Key",
        "how_to": "curl -H \"X-API-Key: sck_…\" \"https://base-risk-feed.restockalarm.workers.dev/v1/feed-pro\""
       }
      }
     },
     "schema": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "type": "object",
      "properties": {
       "input": {
        "type": "object",
        "properties": {
         "type": {
          "type": "string",
          "const": "http"
         },
         "method": {
          "type": "string",
          "enum": [
           "GET",
           "HEAD",
           "DELETE"
          ]
         },
         "queryParams": {
          "type": "object",
          "properties": {}
         }
        },
        "required": [
         "type",
         "method"
        ],
        "additionalProperties": false
       },
       "output": {
        "type": "object",
        "properties": {
         "type": {
          "type": "string"
         },
         "example": {
          "type": "object"
         }
        },
        "required": [
         "type"
        ]
       }
      },
      "required": [
       "input"
      ]
     }
    }
   }
  }
 ]
}