Block Whiz
Block Whiz · GPT アクション
RouteScan API
GET /network/mainnet/evm/{chainId}/addressesRetrieve addresses from a specific chainGET /network/mainnet/evm/{chainId}/contractsRetrieve contracts from a specific chainGET /network/mainnet/evm/cross-transactionsRetrieve cross-chain transactionsGET /network/mainnet/evm/{chainId}/erc20Retrieve ERC20 token information for a specific chainGET /network/mainnet/evm/{chainId}/erc20/{tokenAddress}/holdersRetrieve ERC20 token holders for a specific token on a specific chainGET /network/mainnet/evm/{chainId}/erc20-transfersRetrieve ERC20 token transfers for a specific chainGET /network/mainnet/evm/{chainId}/address/{address}/erc20-holdingsRetrieve ERC20 token holdings for a specific addressGET /network/mainnet/evm/{chainId}/address/{address}/erc20-approvalsRetrieve ERC20 token approvals for a specific addressGET /network/mainnet/evm/{chainId}/address/{address}/erc20-transfersRetrieve ERC20 token transfers for a specific address
元の API スキーマ
openapi: 3.1.0
info:
title: RouteScan API
version: 1.0.0
servers:
- url: https://api.routescan.io/v2
paths:
/network/mainnet/evm/{chainId}/addresses:
get:
summary: Retrieve addresses from a specific chain
operationId: getChainAddresses
parameters:
- name: chainId
in: path
required: true
schema:
type: string
default: "43114"
examples:
chainIdExample:
summary: Example chain ID
value: "43114"
- name: limit
in: query
schema:
type: integer
default: 25
examples:
limitExample:
summary: Default limit value
value: 25
responses:
"200":
description: Successful response
content:
application/json:
schema:
type: object
properties:
items:
type: array
items:
type: object
properties:
chainId:
type: string
address:
type: string
balance:
type: string
balanceValueUsd:
type: string
name:
type: string
link:
type: object
properties:
next:
type: string
nextToken:
type: string
/network/mainnet/evm/{chainId}/contracts:
get:
summary: Retrieve contracts from a specific chain
operationId: getChainContracts
parameters:
- name: chainId
in: path
required: true
schema:
type: string
default: "43114"
examples:
chainIdExample:
summary: Example chain ID for contracts
value: "43114"
- name: limit
in: query
schema:
type: integer
default: 25
examples:
limitExample:
summary: Default limit value for contracts
value: 25
responses:
"200":
description: Successful response
content:
application/json:
schema:
type: object
properties:
items:
type: array
items:
type: object
properties:
chainId:
type: string
address:
type: string
createOperation:
type: object
properties:
timestamp:
type: string
format: date-time
txHash:
type: string
index:
type: integer
type:
type: string
from:
type: string
verified:
type: boolean
txCount:
type: integer
name:
type: string
verifiedAt:
type: string
format: date-time
hasConstructorArguments:
type: boolean
compilerName:
type: string
compilerVersion:
type: string
compilerSettings:
type: object
properties:
optimizer:
type: object
properties:
enabled:
type: boolean
runs:
type: integer
link:
type: object
properties:
next:
type: string
nextToken:
type: string
/network/mainnet/evm/cross-transactions:
get:
summary: Retrieve cross-chain transactions
operationId: getCrossChainTransactions
parameters:
- name: limit
in: query
schema:
type: integer
default: 25
examples:
limitExample:
summary: Default limit value for cross-chain transactions
value: 25
responses:
"200":
description: Successful response
content:
application/json:
schema:
type: object
properties:
items:
type: array
items:
type: object
properties:
type:
type: string
status:
type: string
srcChainId:
type: string
srcTimestamp:
type: string
format: date-time
srcTxHash:
type: string
srcBlockNumber:
type: integer
srcBlockHash:
type: string
srcGasLimit:
type: string
dstChainId:
type: string
from:
type: string
to:
type: string
data:
type: object
properties:
messageNonce:
type: string
messageHash:
type: string
link:
type: object
properties:
next:
type: string
nextToken:
type: string
/network/mainnet/evm/{chainId}/erc20:
get:
summary: Retrieve ERC20 token information for a specific chain
operationId: getERC20Tokens
parameters:
- name: chainId
in: path
required: true
schema:
type: string
default: "43114"
examples:
chainIdExample:
summary: Example chain ID for ERC20 tokens
value: "43114"
- name: limit
in: query
schema:
type: integer
default: 25
examples:
limitExample:
summary: Default limit value for ERC20 tokens
value: 25
responses:
"200":
description: Successful response
content:
application/json:
schema:
type: object
properties:
items:
type: array
items:
type: object
properties:
chainId:
type: string
address:
type: string
name:
type: string
symbol:
type: string
decimals:
type: integer
totalSupply:
type: string
createOperation:
type: object
properties:
timestamp:
type: string
format: date-time
txHash:
type: string
transfers:
type: object
properties:
last24h:
type: integer
last48h:
type: integer
last72h:
type: integer
link:
type: object
properties:
next:
type: string
nextToken:
type: string
/network/mainnet/evm/{chainId}/erc20/{tokenAddress}/holders:
get:
summary: Retrieve ERC20 token holders for a specific token on a specific chain
operationId: getERC20TokenHolders
parameters:
- name: chainId
in: path
required: true
schema:
type: string
default: "43114"
examples:
chainIdExample:
summary: Example chain ID for ERC20 token holders
value: "43114"
- name: tokenAddress
in: path
required: true
schema:
type: string
examples:
tokenAddressExample:
summary: Example ERC20 token address
value: "0x9702230A8Ea53601f5cD2dc00fDBc13d4dF4A8c7"
- name: limit
in: query
schema:
type: integer
default: 25
examples:
limitExample:
summary: Default limit value for ERC20 token holders
value: 25
responses:
"200":
description: Successful response
content:
application/json:
schema:
type: object
properties:
items:
type: array
items:
type: object
properties:
chainId:
type: string
address:
type: string
balance:
type: string
percentage:
type: number
format: double
link:
type: object
properties:
next:
type: string
nextToken:
type: string
/network/mainnet/evm/{chainId}/erc20-transfers:
get:
summary: Retrieve ERC20 token transfers for a specific chain
operationId: getERC20TokenTransfers
parameters:
- name: chainId
in: path
required: true
schema:
type: string
default: "43114"
examples:
chainIdExample:
summary: Example chain ID for ERC20 token transfers
value: "43114"
- name: sort
in: query
schema:
type: string
enum:
- asc
- desc
default: desc
examples:
sortExample:
summary: Sorting order for transfers
value: desc
- name: limit
in: query
schema:
type: integer
default: 25
examples:
limitExample:
summary: Default limit value for ERC20 token transfers
value: 25
responses:
"200":
description: Successful response
content:
application/json:
schema:
type: object
properties:
items:
type: array
items:
type: object
properties:
chainId:
type: string
blockNumber:
type: integer
txHash:
type: string
logIndex:
type: integer
from:
type: string
to:
type: string
createdAt:
type: string
format: date-time
timestamp:
type: string
format: date-time
amount:
type: string
tokenAddress:
type: string
tokenName:
type: string
tokenSymbol:
type: string
tokenDecimals:
type: integer
link:
type: object
properties:
next:
type: string
nextToken:
type: string
/network/mainnet/evm/{chainId}/address/{address}/erc20-holdings:
get:
summary: Retrieve ERC20 token holdings for a specific address
operationId: getERC20HoldingsByAddress
parameters:
- name: chainId
in: path
required: true
schema:
type: string
default: "43114"
examples:
chainIdExample:
summary: Example chain ID for ERC20 holdings
value: "43114"
- name: address
in: path
required: true
schema:
type: string
examples:
addressExample:
summary: Example address for ERC20 holdings
value: "0x0000000000000000000000000000000000000000"
- name: limit
in: query
schema:
type: integer
default: 25
examples:
limitExample:
summary: Default limit value for ERC20 holdings
value: 25
responses:
"200":
description: Successful response
content:
application/json:
schema:
type: object
properties:
items:
type: array
items:
type: object
properties:
chainId:
type: string
tokenAddress:
type: string
tokenName:
type: string
tokenSymbol:
type: string
tokenDecimals:
type: integer
tokenQuantity:
type: string
tokenPrice:
type: string
tokenValueInUsd:
type: string
updatedAtBlock:
type: integer
link:
type: object
properties:
next:
type: string
nextToken:
type: string
/network/mainnet/evm/{chainId}/address/{address}/erc20-approvals:
get:
summary: Retrieve ERC20 token approvals for a specific address
operationId: getERC20ApprovalsByAddress
parameters:
- name: chainId
in: path
required: true
schema:
type: string
default: "43114"
examples:
chainIdExample:
summary: Example chain ID for ERC20 approvals
value: "43114"
- name: address
in: path
required: true
schema:
type: string
examples:
addressExample:
summary: Example address for ERC20 approvals
value: "0x0000000000000000000000000000000000000000"
- name: limit
in: query
schema:
type: integer
default: 25
examples:
limitExample:
summary: Default limit value for ERC20 approvals
value: 25
responses:
"200":
description: Successful response
content:
application/json:
schema:
type: object
properties:
items:
type: array
items:
type: object
properties:
chainId:
type: string
timestamp:
type: string
format: date-time
blockNumber:
type: integer
txHash:
type: string
logIndex:
type: integer
owner:
type: object
properties:
id:
type: string
alias:
type: string
owner:
type: string
type:
type: string
supertype:
type: string
icon:
type: string
checkmark:
type: boolean
spender:
type: object
properties:
id:
type: string
alias:
type: string
owner:
type: string
type:
type: string
supertype:
type: string
icon:
type: string
checkmark:
type: boolean
allowance:
type: string
currentAllowance:
type: string
tokenAddress:
type: string
tokenName:
type: string
tokenSymbol:
type: string
tokenDecimals:
type: integer
count:
type: integer
countType:
type: string
link:
type: object
properties:
next:
type: string
nextToken:
type: string
/network/mainnet/evm/{chainId}/address/{address}/erc20-transfers:
get:
summary: Retrieve ERC20 token transfers for a specific address
operationId: getERC20TransfersByAddress
parameters:
- name: chainId
in: path
required: true
schema:
type: string
default: "43114"
examples:
chainIdExample:
summary: Example chain ID for ERC20 transfers
value: "43114"
- name: address
in: path
required: true
schema:
type: string
examples:
addressExample:
summary: Example address for ERC20 transfers
value: "0x0000000000000000000000000000000000000000"
- name: limit
in: query
schema:
type: integer
default: 25
examples:
limitExample:
summary: Default limit value for ERC20 transfers
value: 25
responses:
"200":
description: Successful response
content:
application/json:
schema:
type: object
properties:
items:
type: array
items:
type: object
properties:
chainId:
type: string
blockNumber:
type: integer
txHash:
type: string
logIndex:
type: integer
from:
type: string
to:
type: string
createdAt:
type: string
format: date-time
timestamp:
type: string
format: date-time
amount:
type: string
tokenAddress:
type: string
tokenName:
type: string
tokenSymbol:
type: string
tokenDecimals:
type: integer
link:
type: object
properties:
next:
type: string
nextToken:
type: string
DexScreener API
API for searching on DexScreener
GET /dex/search/Search in DexScreenerThis endpoint searches for items based on the query parameter 'q'.
GET /dex/pairs/{chainId}/{pairIds}Get information for specific pairs on a given blockchainThis endpoint retrieves information for pairs based on the specified blockchain and pair addresses.
GET /dex/tokens/{tokenAddresses}Get information for specific tokensThis endpoint retrieves information for tokens based on the specified addresses.
元の API スキーマ
openapi: 3.1.0
info:
title: DexScreener API
version: 1.0.0
description: API for searching on DexScreener
termsOfService: https://dexscreener.com/terms
contact:
name: API Support
url: https://dexscreener.com/contact
email: support@dexscreener.com
servers:
- url: https://api.dexscreener.com/latest
description: Production server
paths:
/dex/search/:
get:
operationId: searchDex
summary: Search in DexScreener
description: This endpoint searches for items based on the query parameter 'q'.
parameters:
- name: q
in: query
required: true
description: Search query parameter
schema:
type: string
responses:
"200":
description: Successful response with search results
content:
application/json:
schema:
type: object
properties:
results:
type: array
items:
type: object
"400":
description: Bad Request
content:
application/json:
schema:
type: object
properties:
error:
type: string
"404":
description: Not Found
content:
application/json:
schema:
type: object
properties:
error:
type: string
/dex/pairs/{chainId}/{pairIds}:
get:
operationId: getPairInformation
summary: Get information for specific pairs on a given blockchain
description: This endpoint retrieves information for pairs based on the specified blockchain and pair addresses.
parameters:
- name: chainId
in: path
required: true
description: Blockchain ID (e.g., bsc)
schema:
type: string
- name: pairIds
in: path
required: true
description: Comma-separated pair addresses
schema:
type: string
responses:
"200":
description: Successful response with pair information
content:
application/json:
schema:
type: object
properties:
schemaVersion:
type: string
pairs:
type: array
items:
type: object
properties:
chainId:
type: string
dexId:
type: string
url:
type: string
pairAddress:
type: string
labels:
type: array
items:
type: string
baseToken:
type: object
properties:
address:
type: string
name:
type: string
symbol:
type: string
quoteToken:
type: object
properties:
address:
type: string
name:
type: string
symbol:
type: string
priceNative:
type: string
priceUsd:
type: string
txns:
type: object
volume:
type: object
priceChange:
type: object
liquidity:
type: object
fdv:
type: number
pairCreatedAt:
type: integer
pair:
type: string
required:
- schemaVersion
- pairs
"400":
description: Bad Request
"404":
description: Not Found
/dex/tokens/{tokenAddresses}:
get:
operationId: getTokenInformation
summary: Get information for specific tokens
description: This endpoint retrieves information for tokens based on the specified addresses.
parameters:
- name: tokenAddresses
in: path
required: true
description: Comma-separated token addresses
schema:
type: string
responses:
"200":
description: Successful response with token information
content:
application/json:
schema:
type: object
properties:
schemaVersion:
type: string
pairs:
type: array
items:
type: object
properties:
chainId:
type: string
dexId:
type: string
url:
type: string
pairAddress:
type: string
baseToken:
type: object
quoteToken:
type: object
"400":
description: Bad Request
"404":
description: Not Found