OpenSea · Example Payload

Get_Token_Activity

NFTMarketplaceWeb3BlockchainTradingDigital Assets

Get_Token_Activity is an example object payload from OpenSea, with 5 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdmethodpathrequestresponse

Example Payload

Raw ↑
{
  "operationId": "get_token_activity",
  "method": "GET",
  "path": "/api/v2/chain/{chain}/token/{address}/activity",
  "request": {
    "parameters": {
      "chain": "string",
      "address": "string",
      "limit": 0,
      "cursor": "string"
    }
  },
  "response": {
    "200": {
      "swap_events": [
        {
          "id": "string",
          "timestamp": "2024-01-01T00:00:00Z",
          "sender_address": "string",
          "from_token": {
            "address": null,
            "chain": null,
            "amount_token": null,
            "amount_usd": null,
            "amount_native": null
          },
          "to_token": {
            "address": null,
            "chain": null,
            "amount_token": null,
            "amount_usd": null,
            "amount_native": null
          }
        }
      ],
      "next": "string"
    }
  }
}