Toll Hook API

The Hook API from Toll — 1 operation(s) for hook.

GitHub OpenAPI

Operations 1

GET /api/hook/{address} One Uniswap v4 hook on Robinhood Chain: name, permissions, upgradeable, pools #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/t0ll-xyz:t0ll-xyz-hook-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

t0ll-xyz-hook-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Toll — onchain coin checks Hook API
  version: 1.0.0
  description: 'Free reads from the chain itself. The token check reads Robinhood Chain (4663) and Solana (mainnet): who is behind a coin (wallets that moved together, who funded them, the dev''s record, whether the liquidity can be pulled) and a plain tally of findings. The deployer''s launch record and the wallet privacy check read Robinhood Chain (chain id 4663) only. Information only, not advice. Each read is rate-limited per caller and site-wide. The LARP check (is there a real product behind a coin) is /api/product/ask. An MCP server with the same reads is at https://t0ll.xyz/mcp. The paid reads over x402 are listed too (/api/x402/check, /api/x402/dev, /api/x402/fresh, /api/x402/tx (the pre-sign check, POST), /api/x402/stock (Toll Markets, one stock token), /api/x402/markets/fundamentals, /api/x402/markets/insiders, /api/x402/markets/institutions (13F holders), /api/x402/markets/guidance (earnings-release guidance, AI-extracted from cited filings), /api/x402/markets/macro, /api/x402/markets/stocks (the Markets board), /api/x402/pulse (Robinhood Chain right now) and, while it is open, /api/x402/larp), charged only for a whole answer. Toll Markets (Robinhood Stock Tokens: Chainlink reference price, pools, supply, corporate actions, SEC filings, company numbers, insider trades, 13F institutional holders, earnings-release guidance, macro) is free at /api/markets/stocks, /api/markets/stock/{id}, /api/markets/fundamentals/{id}, /api/markets/insiders/{id}, /api/markets/institutions/{id}, /api/markets/guidance/{id} and /api/markets/macro within its own daily calls; its stock event feed is /api/markets/feed (a Toll key, Pro and Team). The pre-sign check is also free at POST /api/tx/check.'
  x-guidance: 'Free reads need no key: GET /api/check?addr=<token>&wait=1 for a coin check (any chain we read), /api/deployer?addr=<wallet> for a launcher''s record, /api/product/ask?q=<token> for the LARP check. Paid over x402 with no free quota: GET /api/x402/check/{token}?chain=rh|sol (0.005000 USD), /api/x402/dev/{wallet} (0.005000 USD), /api/x402/fresh?limit=1..20 (0.010000 USD), POST /api/x402/tx with the transaction, signature or x402 payment to check (0.005000 USD; free at POST /api/tx/check). With no payment a paid route answers 402 with what to pay; sign it and resend with PAYMENT-SIGNATURE. You are charged only for a whole answer.'
  contact:
    url: https://t0ll.xyz/agents/mcp
    email: T0llxyz@outlook.com
servers:
- url: https://t0ll.xyz
tags:
- name: Hook
paths:
  /api/hook/{address}:
    get:
      operationId: hookCheck
      security: []
      summary: 'One Uniswap v4 hook on Robinhood Chain: name, permissions, upgradeable, pools'
      description: 'One Uniswap v4 hook on Robinhood Chain, by its address: its name and where it was read (the contract''s getter, Blockscout or Sourcify), its 14 permission bits in plain words, whether its code can be changed (EIP-1967 proxy) or is a fixed clone, how many pools use it in Toll''s chain data, and whether a test sell through its newest pool reverted (sells fail). With a $TOLL holder''s Toll key (x-toll-pass or Authorization: Bearer) also the measured buy and sell cut in % and its latest coins with how each ended; without one, history_count only. Facts, never a verdict. Free, thirty reads a minute per caller. format=text answers plain text. Also over MCP as check_hook; paid with the holder parts at /api/x402/hook/{hook}.'
      parameters:
      - name: address
        in: path
        required: true
        description: 'The hook contract: 0x followed by 40 hex characters.'
        schema:
          type: string
          pattern: ^0x[0-9a-fA-F]{40}$
          examples:
          - '0xff9e86e6b21fd688027981bee4b64c8b6b804ed3'
      - name: format
        in: query
        required: false
        description: text = the same facts as plain text.
        schema:
          type: string
          enum:
          - text
      responses:
        '200':
          description: The hook's facts (has_code false = the address holds no code).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Hook'
        '400':
          description: Not an address, or the zero or a burn address.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Too many reads this minute. Wait a minute.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: The hook could not be read right now.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Hook
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
        retryable:
          type: boolean
        code:
          type: string
          enum:
          - still_reading
          - busy
          - over_quota
          - rate_limited
          - bad_address
          - chain_off
          - unavailable
          - read_failed
          description: 'Stable machine code for this no-answer (/api/check): still_reading, busy, over_quota, rate_limited, bad_address, chain_off, unavailable, read_failed'
      required:
      - error
    Hook:
      type: object
      description: The same JSON as https://t0ll.xyz/api/hook/{hook} for a $TOLL holder.
      properties:
        address:
          type: string
        name:
          type:
          - string
          - 'null'
        source:
          type:
          - string
          - 'null'
          description: getter, blockscout, sourcify or hand
        shared:
          type: boolean
          description: one hook every coin of a launchpad uses
        has_code:
          type:
          - boolean
          - 'null'
        flags:
          type: array
          items:
            type: string
          description: v4 Hooks.sol permission names
        plain:
          type: array
          items:
            type: string
        upgradeable:
          type:
          - boolean
          - 'null'
        clone_of:
          type:
          - string
          - 'null'
        pools:
          type:
          - number
          - 'null'
          description: v4 pools on this hook in Toll's chain data; null = not read
        measure:
          type: object
          description: ok (buy_cut_pct, sell_cut_pct, size, block) / sells_fail (reason, block) / unmeasured (why); absent for a shared hook or one with no stored pool
        history:
          type: array
          description: 'the latest coins on this hook: token, symbol, ended (rugged / graduated / dead / alive / not scored yet / not read)'
        history_count:
          type: number
        link:
          type: string
      additionalProperties: true
  securitySchemes:
    TollPass:
      type: apiKey
      in: header
      name: x-toll-pass
      description: A Toll key from https://t0ll.xyz/toll#keys.
    TollBearer:
      type: http
      scheme: bearer
      description: 'The same Toll key as Authorization: Bearer <key>.'
externalDocs:
  url: https://t0ll.xyz/agents/mcp
  description: Toll for AI apps