APRO AI Oracle API v2

APRO AI Oracle API v2

Welcome to the APRO AI Oracle API. We provide a wide range of oracle data, including market data and news. All data undergoes distributed consensus to ensure its trustworthiness and immutability.This endpoint is available under the following API plans:

  • Standard Plan

  • Other Professional Plans

Rate Limit:

Standard: 300 credits per 60 seconds


Endpoint

Ticker Currencies List

Retrieve the list of currencies supported by APRO AI Oracle.

Credit Consumption: 1 API call credit per request

Endpoint: GET /v2/ticker/currencies/list

Query Parameters:

  • page (number) – Page number (e.g., 1)

  • size (number) – Number of entries per page (e.g., 10)

Sample Request

Sample Response

Ticker Currency Support

Retrieve detailed information about a specific currency.

Credit Consumption: 1 API call credit per request

Endpoint: GET /v2/ticker/currency/support


Request

Query Parameters:

  • name (string) – Currency identifier: name, symbol, or keyword Example: link

  • restricted (string) – Query mode: strict or relaxed

    • In strict mode, at least 3 data sources are required

    • Default: strict Example: strict


Sample Request

Sample Response

Ticker Currency Price

Retrieve the price of a specified currency quoted in another currency.

Credit Consumption: 2 API call credits per request

Endpoint: GET /v2/ticker/currency/price


Request

Query Parameters:

  • name (string) – Base currency: name, symbol, or keyword Example: aave

  • quotation (string) – Quotation currency: name, symbol, or keyword Example: usd

  • type (string) – Aggregation method: median or average Default: median Example: median


Sample Request

Sample Response

Fetch historical OHLCV

Fetch historical OHLCV market data for a cryptocurrency

Credit Consumption: 5 API call credit per request

Endpoint: GET /v2/ticker/currency/ohlcv

Request

Query Parameters:

  • name (string) – Base currency: name, symbol, or keyword Example: aave

  • quotation (string) – Quotation currency: name, symbol, or keyword Example: usd

  • type (string) – Aggregation method: median or average Default: median Example: median

  • interval (string) - Granularity of data:hourly or daily

  • start_timestamp (int) - Start time (milliseconds)

  • end_timestamp (int) - End time (milliseconds)

Sample Request

Response

Social Media

Social Media Support Paths

Retrieve the list of social media API endpoints supported by the APRO AI Oracle proxy.

Credit Consumption: 1 API call credit per request

Endpoint: GET /v2/socialmedia/support_paths


Request

Query Parameters:

  • name (string) – Name of the social media platform Example: Twitter


Sample Request

Response

Social Media Proxy

APRO AI Oracle social media proxy API endpoint.

Credit Consumption: 5 API call credits per request

Endpoint: GET /v2/socialmedia/proxy


Request

Body (JSON Parameters):

  • name (string) – Name of the social media platform Example: Twitter

  • method (string) – HTTP method to be used Example: Get

  • path (string) – API endpoint path (refer to the /socialmedia/support_paths API for supported paths) See reference at: https://docs.x.com/x-api/introduction


Sample Request

Response

List of Supported Social Media API Endpoints X (formerly Twitter)

/2/tweets

Returns a variety of information about the Post specified by the requested ID.

Sample Request

Sample Response

/2/tweets/search/recent

Returns Post Counts from the last 7 days that match a search query.

Sample Request

Sample Reponse

/2/tweets/{id}

Returns a variety of information about the Post specified by the requested ID.

Sample Request

Sample Reponse

/2/users

This endpoint returns information about Users. Specify Users by their ID.

Sample Request

Sample Reponse

/2/users/by

This endpoint returns information about Users. Specify Users by their username.

Sample Request

Sample Reponse

/2/users/by/username/{username}

This endpoint returns information about a User. Specify User by username.

Sample Request

Sample Reponse

/2/users/{id}

This endpoint returns information about a User. Specify User by ID.

Sample Request

Sample Reponse

/2/users/{id}/mentions

Returns Post objects that mention username associated to the provided User ID.

Sample Request

Sample Reponse

/2/users/{id}/tweets

Returns a list of Posts authored by the provided User ID.

Sample Request

Sample Reponse

Last updated