Wolfram Blockchain Labs
  • EchoFeed
    • Introduction
    • Registration Guide
    • Authentication & API Access Guide
    • API Documentation
      • Exchanges
      • Markets
      • Tokens
      • OrderBooks
      • Trades
      • Tickers
      • CandleSticks
        • Aggregation Tasks
      • ExchangeRates
      • MarketLogs
      • MarketRatings
      • Admin Endpoints
    • WebSocket API Documentation
    • Available Pairs
      • Centralized Exchanges
      • Decentralized Exchanges
    • Rate Limiting
  • Open-Source
    • Open Source Data Collection
    • Quick Start Guide
    • API Reference
      • Exchanges
      • Markets
      • CandleSticks
      • ExchangeRates
      • OrderBooks
      • Tickers
      • Trades
      • Aggregation
    • Price Updates
    • Community Contribution Guides
  • Resources
    • Glossary
Powered by GitBook
On this page
  1. Open-Source
  2. API Reference

Aggregation

Get Aggregation Task

  • Method: GET

  • Endpoint: /api/v1/crypto/aggregation-tasks/:id

  • Path Variables:

    • id: (string) The identifier of the aggregation task.

Description:

This endpoint is used to retrieve the status and context of an asynchronous aggregation task by its unique identifier. It provides the current status of the task, including whether it has been completed, is still in progress, or has encountered any errors.

Example with curl:

curl -X GET "http://example.com/api/v1/crypto/aggregation-tasks/1"

Example Response Payload:

{
    "data": {
        "id": "1",
        "type": "CANDLES_DISCRETE_AGGREGATION",
        "status": "COMPLETED",
        "context": {
            "symbols": [
                "BTC/USDT"
            ],
            "exchangeNames": [
                "Binance",
                "Bybit",
                "OKX"
            ],
            "rangeDateStart": "2024-04-01 08:38:37",
            "rangeDateEnd": "2024-04-01 23:38:34",
            "timeframeMinutes": 60
        },
        "error": null,
        "createdAt": "2024-04-04T08:30:10.141Z",
        "updatedAt": "2024-04-04T08:30:10.333Z"
    },
    "status": 1
}
PreviousTradesNextPrice Updates

Last updated 9 months ago