Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.uniblock.dev/llms.txt

Use this file to discover all available pages before exploring further.

For more information regarding the endpoints, please visit Allium’s API documentation: Allium API Docs.

Prefix

No prefix is required for Allium. An example URL will therefore look like: https://api.uniblock.dev/direct/v1/Allium/path/to/endpoint.

Authentication

Allium uses API key authentication. If an Allium API key is stored in your Uniblock project, Direct API will automatically send it as an X-API-KEY header.

Example

curl --request GET \
  --url 'https://api.uniblock.dev/direct/v1/Allium/api/v1/developer/tokens?chain=ethereum&limit=1' \
  --header 'accept: application/json' \
  --header 'x-api-key: YOUR_UNIBLOCK_API_KEY'

Supported Endpoints

Developer API

MethodPathDescription
GETapi/v1/developer/assetsList supported assets.
POSTapi/v1/developer/assets/batchGet multiple assets in one request.
POSTapi/v1/developer/pricesFetch latest token prices.
POSTapi/v1/developer/prices/at-timestampFetch token prices at a timestamp.
POSTapi/v1/developer/prices/historyFetch token price history.
POSTapi/v1/developer/prices/statsFetch token price statistics.
GETapi/v1/developer/tokensList tokens.
GETapi/v1/developer/tokens/searchSearch tokens.
POSTapi/v1/developer/tokens/chain-addressFetch a token by chain and address.
POSTapi/v1/developer/tokens/transfersFetch fungible token transfers.
POSTapi/v1/developer/wallet/balancesFetch latest fungible token balances.
POSTapi/v1/developer/wallet/balances/historyFetch historical fungible token balances.
POSTapi/v1/developer/wallet/transactionsFetch wallet transactions.
POSTapi/v1/developer/holdings/historyFetch holdings history.
POSTapi/v1/developer/holdings/pnlFetch current wallet PnL.
POSTapi/v1/developer/holdings/pnl/historyFetch historical wallet PnL.
POSTapi/v1/developer/holdings/pnl-by-tokenFetch current wallet and token PnL.
POSTapi/v1/developer/holdings/pnl-by-token/historyFetch historical wallet and token PnL.
POSTapi/v1/developer/defi/positionsFetch DeFi positions.
POSTapi/v1/developer/defi/navGet DeFi net asset value.
POSTapi/v1/developer/defi/account-healthGet DeFi account health.
POSTapi/v1/developer/hyperliquid/infoFetch Hyperliquid account information.
POSTapi/v1/developer/hyperliquid/fillsFetch Hyperliquid fills.
POSTapi/v1/developer/hyperliquid/order-historyFetch Hyperliquid order history.
POSTapi/v1/developer/hyperliquid/order-statusFetch Hyperliquid order status.
POSTapi/v1/developer/hyperliquid/orderbook-snapshotFetch a Hyperliquid orderbook snapshot.
POSTapi/v1/developer/hyperliquid/user-fundingFetch Hyperliquid user funding.
POSTapi/v1/developer/hyperliquid/user-non-funding-ledger-updatesFetch Hyperliquid non-funding ledger updates.
GETapi/v1/developer/availabilityGet chain endpoint availability.

Explorer API

MethodPathDescription
POSTapi/v1/explorer/queriesCreate an Explorer query.
PATCHapi/v1/explorer/queries/{query_id}Update an Explorer query.
POSTapi/v1/explorer/queries/{query_id}/run-asyncRun an Explorer query asynchronously.
GETapi/v1/explorer/queries/{query_id}/runs/latestFetch the latest query run.
GETapi/v1/explorer/query-runs/{run_id}/statusFetch query run status.
GETapi/v1/explorer/query-runs/{run_id}/resultsFetch query run results.
POSTapi/v1/explorer/query-runs/{run_id}/cancelCancel a query run.

Account API

MethodPathDescription
GETapi/v1/account/organization/usageGet organization API usage.

Datastreams API

MethodPathDescription
GETapi/v1/datastreams/data-sourcesFetch all datastream data sources.
POSTapi/v1/datastreams/data-sourcesCreate a datastream data source.
GETapi/v1/datastreams/data-sources/{data_source_id}Fetch a datastream data source.
PATCHapi/v1/datastreams/data-sources/{data_source_id}Update a datastream data source.
DELETEapi/v1/datastreams/data-sources/{data_source_id}Delete a datastream data source.
GETapi/v1/datastreams/data-sources/{data_source_id}/valuesFetch datastream data source values.
GETapi/v1/datastreams/filtersFetch all datastream filters.
POSTapi/v1/datastreams/filtersCreate a datastream filter.
GETapi/v1/datastreams/filters/{filter_id}Fetch a datastream filter.
PATCHapi/v1/datastreams/filters/{filter_id}Update a datastream filter.
DELETEapi/v1/datastreams/filters/{filter_id}Delete a datastream filter.
GETapi/v1/datastreams/workflowsFetch all datastream workflows.
POSTapi/v1/datastreams/workflowsCreate a datastream workflow.
GETapi/v1/datastreams/workflows/{workflow_id}Fetch a datastream workflow.
PATCHapi/v1/datastreams/workflows/{workflow_id}Update a datastream workflow.
DELETEapi/v1/datastreams/workflows/{workflow_id}Delete a datastream workflow.