Twelve Data/GetIntervals

Twelve DataTwelve Data Forex API

GET/intervals

List time intervals

Lists intervals available to time-series and technical-indicator requests.

Query realtime and historical Forex market data, currency conversion, reference data, and technical indicators; callers connect directly with their own Twelve Data credential.

Request

operationId
GetIntervals
Server
https://api.twelvedata.com
Authentication
apiKey

Request parameters

No URL, query, or header parameters.

Responses

200

GetIntervals_200_responseapplication/json

Request succeeded and returns this Endpoint's JSON payload.

Properties: datastatus

400

ApiBadRequestErrorResponseBodyapplication/json

The request parameters are invalid.

Properties: codemessagestatus

401

ApiUnauthorizedErrorResponseBodyapplication/json

The caller credential is missing or invalid.

Properties: codemessagestatus

403

ApiForbiddenErrorResponseBodyapplication/json

The caller plan or permission does not allow this request.

Properties: codemessagestatus

404

ApiNotFoundErrorResponseBodyapplication/json

The requested resource or data does not exist.

Properties: codemessagestatus

414

ApiParameterTooLongErrorResponseBodyapplication/json

The request parameters exceed the service length limit.

Properties: codemessagestatus

429

ApiTooManyRequestsErrorResponseBodyapplication/json

The caller exceeded a service rate or credit limit.

Properties: codemessagestatus

500

ApiInternalServerErrorResponseBodyapplication/json

The upstream service could not complete the request.

Properties: codemessagestatus

{
  "data": [
    "data-sample"
  ],
  "status": "ok"
}