Skip to main content

Create Async Data Request

POST 

/api/v1/historical-data/async

This endpoint creates a data request and responds immediately while the data is being processed in the background. The response will contain a status, indicating if the request is running or if it failed, and a requestId field that can be used to check the status of the request using the Get Data Request. The field outputFile indicates the URL to download the output file, when ready.

Request

Body

Body

    signals

    object

    required

    Array of Signal ID's or Search JSON's

    oneOf

    Array of signal ID's

  • Array [

  • integer

    Possible values: > 0

  • ]

  • timeWindow

    object

    required

    start stringrequired

    Date in ISO format

    Example: 2021-09-01T00:00:00.000Z
    end string

    Date in ISO format

    Example: 2021-09-01T00:00:00.000Z
    format string

    Output file format

    Possible values: [parquet, json, csv]

    Default value: parquet
    notificationUrl uri

    URL to notify when the output file is ready, see Async historical data request notification for more info

Responses

Success

Schema

    oneOf

    Data request is still running

    requestId integerrequired

    ID of the Request

    Possible values: > 0

    Example: 1000
    status stringrequired

    Possible values: [Running]

    outputFile urirequired

    URL to download the data output file

    Example: https://nortech-api-query-euc1.s3.eu-central-1.amazonaws.com/User-10-1713999600/000.parquet
Loading...