honeypot logo

Pairs

Honeypot.is provides helper endpoints to find pairs for a token.

GET/v1/GetPairs

Get Pairs

This endpoint allows you to retrieve a list of pairs for a token. Currently, the endpoint is limited to returning 10 pairs. /v2/ Endpoint will support a user-specified limit.

Required attributes

  • Name
    address
    Type
    address
    Description

    The address of the token to retrieve pairs for.

Optional attributes

  • Name
    chainID
    Type
    integer
    Description

    The chain you want to check the token on. If not specified, it will include pairs for all chains.

Request

GET
/v1/GetPairs
curl -G https://api.honeypot.is/v1/GetPairs \
-H "X-API-KEY: {APIKEY}" \
-d address=0x6982508145454Ce325dDbE47a25d4ec3d2311933 \
-d chainID=1

Response

GET
/v1/GetPairs
[
{
    "ChainID": 1,
    "Pair": {
        "Name": "Uniswap V2: PEPE-WETH",
        "Tokens": [
            "0x6982508145454ce325ddbe47a25d4ec3d2311933",
            "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"
        ],
        "Address": "0xa43fe16908251ee70ef74718545e4fe6c5ccec9f"
    },
    "Reserves": [
        2309863147202366390632917740976,
        3657182645473588411835
    ],
    "Liquidity": 13795258.656990923,
    "Router": "0x7a250d5630b4cf539739df2c5dacb4c659f2488d"
},
// The remaining 9 pairs...
]