Get activities
Authorization
OrionApiKey In: header
Path Parameters
Stellar account or contract address
Query Parameters
Opaque cursor returned as next_cursor by a previous response. Pass it back verbatim. Do not parse or modify.
Maximum activity rows to return. Defaults to 50, capped at 100.
int321 <= value <= 100Return feed rows at or before this ledger sequence number. Cannot be combined with to_ledger.
int640 <= valueFilter by protocol id (e.g. "blend").
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. Supported values: deposit, withdraw, borrow, repay, liquidation, claim_rewards, flash_loan, bad_debt, swap, add_liquidity, remove_liquidity, mint, burn, contract_status_change, and the exact Blend event names supply, supply_collateral, withdraw_collateral, claim, new_auction, fill_auction, delete_auction, set_status, set_reserve, queue_set_reserve, cancel_set_reserve, update_pool, set_admin, gulp, gulp_emissions, reserve_emission_update, defaulted_debt.
Filter activities by the contract they touched (e.g. a Blend pool contract address).
Filter activities by transaction hash.
Filter activities from this ledger sequence (inclusive).
int640 <= valueFilter activities up to this ledger sequence (inclusive).
int640 <= valueResponse 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": { "as_of_ledger": 0, "attribution_confidence": 0, "data_staleness_seconds": 0, "last_indexed_ledger": 0, "ledger_lag_seconds": 0, "oracle_staleness_seconds": 0, "partial_result": true, "requested_ledger": 0, "response_time_ms": 0, "sources": [ "soroban_rpc" ] }}