Activities

Get activities

GET
/v1/users/{address}/activities

Path Parameters

address*string

Stellar account address

Query Parameters

cursor?|

Opaque cursor returned as next_cursor by a previous response. Pass it back verbatim. Do not parse or modify.

limit?|

Maximum activity rows to return. Defaults to 50, capped at 100.

Formatint32
Range1 <= value <= 100
as_of_ledger?|

Return feed rows at or before this ledger sequence number. Cannot be combined with to_ledger.

Formatint64
Range0 <= value
protocol?|

Filter by protocol id (e.g. "blend").

activity_type?|

Filter by activity type. Accepts a single value (e.g. "deposit") or a comma-separated list (e.g. "deposit,withdraw"); rows matching any listed type are returned.

contract?|

Filter activities by the contract they touched (e.g. a Blend pool contract address).

tx_hash?|

Filter activities by transaction hash.

from_ledger?|

Filter activities from this ledger sequence (inclusive).

Formatint64
Range0 <= value
to_ledger?|

Filter activities up to this ledger sequence (inclusive).

Formatint64
Range0 <= value

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1/users/string/activities"
{  "data": {    "activities": [      {        "activity_type": "deposit",        "address": "string",        "amount": "string",        "asset_decimals": 0,        "asset_id": "string",        "asset_symbol": "string",        "contract": "string",        "counterparty": "string",        "id": "string",        "ledger": 0,        "metadata": null,        "protocol": "string",        "share_amount": "string",        "share_type": "string",        "timestamp": "2019-08-24T14:15:22Z",        "tx_hash": "string",        "usd_value": "string"      }    ],    "address": "string",    "next_cursor": "string"  },  "enrichment": {    "assets": {      "property1": {        "decimals": 0,        "price_source": null,        "price_usd": "string",        "symbol": "string",        "tags": [          "string"        ]      },      "property2": {        "decimals": 0,        "price_source": null,        "price_usd": "string",        "symbol": "string",        "tags": [          "string"        ]      }    },    "contracts": {      "property1": {        "name": "string",        "position_types": [          "collateral"        ],        "protocol": "string",        "status": "active",        "version": "string"      },      "property2": {        "name": "string",        "position_types": [          "collateral"        ],        "protocol": "string",        "status": "active",        "version": "string"      }    }  },  "meta": {    "attribution_confidence": 0.1,    "data_staleness_seconds": 0,    "last_indexed_ledger": 0,    "oracle_staleness_seconds": 0,    "partial_result": true,    "response_time_ms": 0,    "sources": [      "soroban_rpc"    ]  }}