GET
/
market
/
trades
/
pair
curl --request GET \
  --url https://api.mobula.io/api/1/market/trades/pair
{
  "data": [
    {
      "token_amount": 123,
      "token_amount_usd": 123,
      "token_price": 123,
      "token_price_vs": 123,
      "blockchain": "<string>",
      "hash": "<string>",
      "date": 123
    }
  ]
}

Query quick start

Input in “address” field the contract address of the pair/pool you want to query. You can also query via asset explained in great details here and it will return the largest pair’s data for this asset.

Query Parameters

address
string
required

Address of the pair to retrieve trade history for.

amount
integer
default: 20

Maximum number of results to return.

asset
string

The Asset you want to target - asset name only works for assets listed on Mobula.

blockchain
string

The blockchain of the asset (only mandatory if asset is sent as smart-contract).

Response

200 - application/json
data
object[]