Historical Transactions (GET)

Historical Transactions: Credit Usage 10

This API is used to get all historical transactions for a specific trading pair

URL

Header: X-API-KEY

(Please do not disclose your API Key to anyone. If you are at risk of losing it, please refresh it.)

Parameters

{chain} solana / bsc Required
{pair} Pair Contract Address Required
{tradeType} Trade type filter, values include “buy / sell / addLiq / removeLiq”
{tag} Category filter, only view trades of a specific address type, values include “dev / sniper / follow”
{account} Address filter, only view trades of this address (maker)
{cursor} Pagination parameter, the parameter value is a trade ID, returns the 20 trades that occurred before the specified trade

Notes

  1. X-API-KEY can be obtained in your "Dashboard", go to check: Dashboard

  2. In the paging type interface, use the next field in the return value as the query parameter for the next page (if next == null, it means that paging has ended)

Results

{
	"err": false,
	"res": [
		{
			"id": "6850c30a54da0479435b6bc8",
			"slot": 347286159,
			"blockTime": 1750123273,
			"txHash": "wDNpGaBFJDXMqbCmXvqbtAQmmZDQtShBrrxfiG3cefz1LvoRNMmx7n1HaREVBLbApcvNadVTeVHnFk85GSTghhz",
			"dex": "pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA",
			"pair": "6GfF6Q2pJMhitms6cqhmHVMio7fd2TBXt4s3RjCnaHKf",
			"account": "4NWUKn2tm6k8kPC9izrfE3Mryrvu4QyAawy1JGG8j481",
			"tradeType": "removeLiq",
			"token": "6qAa6x3YitxLyDmGrRcaNdxt63LFMzT9U8x9VaF4PUMP",
			"solAmount": 463.76640154,
			"quantity": 751561342.164468,
			"dexName": "pump swap program"
		}
	],
	"docs": "https://dbotx.com/docs"
}

Response Parameters

  • id: This transaction's ID

  • slot: Block number in which the trade occurred

  • txHash: Transaction hash

  • dex: Dex contract address where the transaction occurred

  • dexName: Dex name where the transaction occurred

  • token: Token address

  • pair: Trading pair address

  • account: Wallet address that made the trade (maker)

  • tradeType: Transaction type, including “buy/ sell / addLiq / removeLiq”

  • solAmount: SOL amount in this transaction

  • quantity: Token amount in this transaction

Last updated