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
curl -X GET "https://api-ai-oracle.apro.com/v2/ticker/currencies/list?size=50&page=1" \
-H "accept: application/json"
Sample Response
{
"status": {
"timestamp": 1742456493281,
"code": 200,
"message": ""
},
"data": [
{
"name": "Aave",
"symbol": "AAVE",
"keywords": [
"aave"
],
"support_providers": [
"AggregationCoinMarketCap",
"AggregationCoinGecko",
"DexAve",
"DexDexTools"
]
}
]
}
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
orrelaxed
In
strict
mode, at least 3 data sources are requiredDefault:
strict
Example:strict
Sample Request
curl -X GET "https://api-ai-oracle.apro.com/v2/ticker/currency/support?name=link&restricted=strict" \
-H "accept: application/json"
Sample Response
{
"status": {
"timestamp": 1742456976497,
"code": 200,
"message": ""
},
"data": {
"name": "Chainlink",
"symbol": "LINK",
"keywords": [
"chainlink"
],
"support_providers": [
"DexAve",
"DexDexTools",
"AggregationCoinMarketCap",
"AggregationCoinGecko"
]
}
}
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
oraverage
Default:median
Example:median
Sample Request
curl -X GET "https://api-ai-oracle.apro.com/v2/ticker/currency/price?name=aave"ation=usd&type=median" \
-H "accept: application/json"
Sample Response
{
"status": {
"timestamp": 1742457195612,
"code": 200,
"message": ""
},
"data": {
"name": "Aave",
"symbol": "AAVE",
"quotes": "United States Dollar",
"quotes_symbol": "USD",
"price": 176.76901955342512,
"report_type": "median",
"timestamp": 1742457195543,
"signature": [
{
"signer": "0xB8d725f09fB33852dA862EAB9e68536305CfE289",
"hash": "0x42386b1fecfd5403adc9da5078925187cf77632fd4abddec88140855301b33cd",
"signature": "e847b8242899f36be74cd214963a83c6631d859b019d949886c50be8d0c6f0d91cbd43587e80f6c35b917bc156ae4c4a30e23ac015e37262abf56125c7b3968e01",
"timestamp": 1742457195520
},
{
"signer": "0xa79c2F060301ace9DcdcF838DF0F1bD7ff016Bf4",
"hash": "0x5d04265b1fda5e3121e5cc0517fcad9fa382d4d26c8613c8903983ea0fcbb866",
"signature": "73c03ebe67b19aa21be98b071f963e3410f18cf13b123b2b71f609a97bf2ccd627d9da96d0f8c6f80eae2ad2f34ccb460a4c68827f4b361dfb17e09e21d8e86601",
"timestamp": 1742457195617
},
{
"signer": "0x82c9F939242beDddD9a6EA1AFc823e6dA6658E0b",
"hash": "0x83b5f55abe408d88a2170efdd148e3823abd23a5d237e288a444a1e1937be61c",
"signature": "4107b7ab3c37d440ded225c92b654d4289464ded300fe9ae4d2ab203959ae35055d086a0c026dd7e3db184e259301be77717d867a6644c6d7266e76b4471b79100",
"timestamp": 1742457195492
},
{
"signer": "0x13Ac6f9B4C3178D92ee60a7aC8e67063dB08552E",
"hash": "0xaa6dd77d747504d023501c3e29c4ab9b3356dccf20fe23ea786fe610a5365012",
"signature": "36b0b86c21f9aec5c6eafb4a2385d1050d87bb6543c9b5e01fcfba8b3ef46160518c7ce5c215690ffb8189560c75143b7748fa448989d370631d7e2ac3df4e2400",
"timestamp": 1742457195550
},
{
"signer": "0x2875540d8fad62e4CDC71d7a59611Eb578ab7Ccc",
"hash": "0xfcc14ce7147a30c8589c5add26e9c2521de3506ed408f0591273a9cd2d686403",
"signature": "56b5f01c18944067a570d442bcb23acd247330c80b667e270cb1bb09835ecb9c52e6772298576621467fb28802a4ce9328f32a07e44741dee980d607e7147b6900",
"timestamp": 1742457195495
}
],
"prices": [
{
"name": "Aave",
"symbol": "AAVE",
"quotes": "United States Dollar",
"quotes_symbol": "USD",
"price": 176.76901955342512,
"provider_name": "DexDexTools",
"direct_price": true,
"last_updated": 1742457192
},
{
"name": "Aave",
"symbol": "AAVE",
"quotes": "United States Dollar",
"quotes_symbol": "USD",
"price": 176.68686481106832,
"provider_name": "AggregationCoinMarketCap",
"direct_price": true,
"last_updated": 1742457060
},
{
"name": "Aave",
"symbol": "AAVE",
"quotes": "United States Dollar",
"quotes_symbol": "USD",
"price": 177.43406249569423,
"provider_name": "DexAve",
"direct_price": true,
"last_updated": 1742456967
}
]
}
}
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
curl -X GET "https://api-ai-oracle.apro.com/v2/socialmedia/support_paths?name=Twitter" \
-H "accept: application/json"
Response
{
"status": {
"timestamp": 1744263802743,
"code": 200,
"message": ""
},
"data": {
"name": "twitter",
"timestamp": 1744263802,
"response": {
"/2/tweets": "get",
"/2/tweets/search/recent": "get",
"/2/tweets/{id}": "get",
"/2/users": "get",
"/2/users/by": "get",
"/2/users/by/username/{username}": "get",
"/2/users/{id}": "get",
"/2/users/{id}/mentions": "get",
"/2/users/{id}/tweets": "get"
}
}
}
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
Sample Request
curl -X GET "https://api-ai-oracle.apro.com/v2/socialmedia/proxy" \
--header 'X-API-KEY: YOUR API KEY' \
--header 'X-API-SECRET: YOUR API SECRET' \
--header 'Content-Type: application/json' \
--data '{
"name":"Twitter",
"method":"Get",
"path": "2/users/by?usernames=elonmusk"
}'
Response
{
"status": {
"timestamp": 1744263962077,
"code": 200,
"message": ""
},
"data": {
"name": "twitter",
"timestamp": 1744263962,
"signature": [
{
"signer": "0xB8d725f09fB33852dA862EAB9e68536305CfE289",
"hash": "0x555c5ed69f7e64ddb8df2198d923e319ec66da87caedbbf1aa4e99e27b48d507",
"signature": "f966ce85805862f3732885af02d16d9a77876b239b754560213459e6b46385bd0abff73729258c8c72b98d9c1f66fb34e662f258f0f7b1fb19c4fe3837bac42f01",
"timestamp": 1744263961943
},
{
"signer": "0xa79c2F060301ace9DcdcF838DF0F1bD7ff016Bf4",
"hash": "0x0c558fd1986f1785d341d9335beeef0836c467284d1c30a6ac4b7a353d6e1132",
"signature": "58265d7a1cdead12b187b89ae9bcb96c6a20d15a4638cf6478ac64a6282dee635421255e3ca365ec5270dd12f7e3456dfbbe3a103b8c57e9fe012cfaa0c3561e00",
"timestamp": 1744263962014
},
{
"signer": "0x82c9F939242beDddD9a6EA1AFc823e6dA6658E0b",
"hash": "0xfbb6e1c930e910edcad764adb5f1617d6a059a3603e56493b740bf1e7f322738",
"signature": "d912c86d852d79874cd3e80c38a1dc2b3751397b1fe02eb39e982a2ba56fc62a0ef66a2b990e41bf3280a549110fc782dbbd3f286a078fc9bfe7f9b04dd22fdf01",
"timestamp": 1744263961964
},
{
"signer": "0x13Ac6f9B4C3178D92ee60a7aC8e67063dB08552E",
"hash": "0x16cdb38d88a78d7fa3bb4bde0dfc623f45bb32fb7c381197171de7069f37aaad",
"signature": "8dba44dbdb60820b1600ba8e799600fb0a323aa5cc77d347d958698fb47b38d74231a392ee884532c317b8f9b8eb91d527da354bb09c4b074d681621da79c20f01",
"timestamp": 1744263961986
},
{
"signer": "0x2875540d8fad62e4CDC71d7a59611Eb578ab7Ccc",
"hash": "0xfcd9c0afcac1737139df4c7b4edff4dc4a4201495769dd3789af94b3d0a79db6",
"signature": "a17b18312f66bdee5a6b642b713e6946d11d3f8ba1491159ce3584c2a41153c4579179a8d8ed29833d4ae80eb0d3aa3678d07d35ae98124540638230cb8bb03d00",
"timestamp": 1744263961999
}
],
"response": {
"data": [
{
"id": "44196397",
"name": "Elon Musk",
"username": "elonmusk"
}
]
}
}
}
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
curl -X GET "https://api-ai-oracle.apro.com/v2/socialmedia/proxy" \
--header 'X-API-KEY: YOUR API KEY' \
--header 'X-API-SECRET: YOUR API SECRET' \
--header 'Content-Type: application/json' \
--data '{
"name":"Twitter",
"method":"Get",
"path": "/2/tweets?ids=1909854301763387673"
}'
Sample Response
{
"status": {
"timestamp": 1744794178154,
"code": 200,
"message": ""
},
"data": {
"name": "twitter",
"timestamp": 1744794172,
"signature": [
{
"signer": "0xB8d725f09fB33852dA862EAB9e68536305CfE289",
"hash": "0x4fe5438e435165607766e0a1acab7e08f8a16c0497c003758723730ebe7ed904",
"signature": "a9c3cae6c1f510b4fbcc50573e9886d9b33e60fc61c592b68b9d1751496e91aa2792f48b2918d4aff6f1dae9856ee6c1f2ffbf973044c3b716f793378b4ff1a401",
"timestamp": 1744794178117
},
{
"signer": "0xa79c2F060301ace9DcdcF838DF0F1bD7ff016Bf4",
"hash": "0x781405f540cd4b14ced1a5c2d3488672b6578dd6b3ade474b9566da68822ce4d",
"signature": "430cec106cd0f3907c6544310da68bb57ddad67e60df9b726093dd95e9387dd51cdc3cd1618dca842d000efecef244bdee26ea94e79f5e47032cf1523a32539a01",
"timestamp": 1744794178047
},
{
"signer": "0x82c9F939242beDddD9a6EA1AFc823e6dA6658E0b",
"hash": "0x95e09ae7da04971281da688a9f9a803adff87a4807e888169b1a761eed4efd1c",
"signature": "4c86cb5a7cfb294641a88b34fc1ece87d2e690719d0a529ca63414ed5cd3051b0ddf44fbd53bb4f6022a5d22482b8167d1181a65a1f54c61e6bc8b32b01b195301",
"timestamp": 1744794178191
},
{
"signer": "0x13Ac6f9B4C3178D92ee60a7aC8e67063dB08552E",
"hash": "0xf1dedbb3e9c11ada0c6541a1796374ca0b1158bc1ec4f878a1c403b58232c58b",
"signature": "10a02b202a360eadff82662b1f44e161b5a9707e3baec5795b2bba44a9a4e29f2ab78047242d7a204ac4bf2e49b9d56a1dc1b50ddc4f37dd789eefa2248c01b501",
"timestamp": 1744794178064
},
{
"signer": "0x2875540d8fad62e4CDC71d7a59611Eb578ab7Ccc",
"hash": "0x5bfabdf27391709d1ee218d191f96d64d295cf1e7cbae119b8fabd823e008c68",
"signature": "ed586daa17df411054289947fc561d8bd7370294c20c7bb98a790b5361aa254275b6da50124748fa471360d2a73a08c7b857cbbf261663545673854b6145755100",
"timestamp": 1744794178166
}
],
"response": {
"data": [
{
"edit_history_tweet_ids": [
"1909854301763387673"
],
"id": "1909854301763387673",
"text": "Exactly https://t.co/k6IuJcQJnC"
}
]
}
}
}
/2/tweets/search/recent
Returns Post Counts from the last 7 days that match a search query.
Sample Request
curl -X GET "https://api-ai-oracle.apro.com/v2/socialmedia/proxy" \
--header 'X-API-KEY: YOUR API KEY' \
--header 'X-API-SECRET: YOUR API SECRET' \
--header 'Content-Type: application/json' \
--data '{
"name":"Twitter",
"method":"Get",
"path": "/2/tweets/search/recent?query=(from:jack OR from:elonmusk) -is:reply -is:retweet"
}'
Sample Reponse
{
"status": {
"timestamp": 1744794967245,
"code": 200,
"message": ""
},
"data": {
"name": "twitter",
"timestamp": 1744794967,
"signature": [
{
"signer": "0xB8d725f09fB33852dA862EAB9e68536305CfE289",
"hash": "0xe1c9dee7f9901f888c2a1f25f470c095a5f3be6db01ae41a91db7a32544fbdb4",
"signature": "0de7e12bb6d7da534c301cef18e75ec1ac533391b2eb2dbe10c9f35e1ecbba9269e32bf03172a8566fd97defb14558337aadd99285a208babe0247b1a9403d4a01",
"timestamp": 1744794967185
},
{
"signer": "0xa79c2F060301ace9DcdcF838DF0F1bD7ff016Bf4",
"hash": "0x348af84eb9372923686109fd0bf6980312cfc3029828a4f03be045611f4033ae",
"signature": "6070ea41459ad7d6b7b166270dfc0f4817a385a341e893075190f7b55974ea0c5dc75917e5555bb8c86e04a69dd7d15ef92203c710d759afe3a6807d18305cc600",
"timestamp": 1744794967175
},
{
"signer": "0x82c9F939242beDddD9a6EA1AFc823e6dA6658E0b",
"hash": "0x80addb5c03744a59ae2fd864da7673746150bd0cf77017d2cb1c3223f8b68482",
"signature": "2ee92ca5e81065b99cf9837545df977cfc40dff3511affa529639df97ef8020232a9d013b398283cf0eab7d12b325adfa748d112f3f821c883dd79e22147385300",
"timestamp": 1744794967062
},
{
"signer": "0x13Ac6f9B4C3178D92ee60a7aC8e67063dB08552E",
"hash": "0x0b8e42d56f9b6ab4d5eba84c52e44e3461c26d6045ce28bb17e6853da837bd45",
"signature": "b072ae6f01493ba78fb2214ffe1a775f1e1e12ef5f573b1f45f31230ba33866c125ef0ae915f82b2e815549436deab2afc02d270f787bd8b20dfce795610f0e100",
"timestamp": 1744794967235
},
{
"signer": "0x2875540d8fad62e4CDC71d7a59611Eb578ab7Ccc",
"hash": "0xad12e1e324eff5d994e1f57a691de55e01d172c13638ee0a6b537fa6bdeb98b2",
"signature": "07e58e1ee580eabefcacdacd23babe4b7f0eed68dc7f60de31d2b27a0a60b5dd347a070d35fc5925e103060872a1adb04aaee8e67695120efaebaa21c7f0d0b400",
"timestamp": 1744794967163
}
],
"response": {
"data": [
{
"text": "Twice as many credit cards are issued and active than the total number of government employees! Crazy. https://t.co/6Zfr3fyHM8",
"id": "1912355571875082427",
"edit_history_tweet_ids": [
"1912355571875082427"
]
},
{
"text": "TMZ >> WSJ",
"id": "1912355094173217172",
"edit_history_tweet_ids": [
"1912355094173217172"
]
},
{
"text": "Try @Grok! https://t.co/8CfTO94pyq",
"id": "1912350591701119353",
"edit_history_tweet_ids": [
"1912350591701119353"
]
},
{
"text": "https://t.co/rdyH50E1RQ",
"id": "1912349851133558960",
"edit_history_tweet_ids": [
"1912349851133558960"
]
},
{
"text": "Hammer Time https://t.co/BwFVMmttMP",
"id": "1912346979709120528",
"edit_history_tweet_ids": [
"1912346979709120528"
]
},
{
"text": "😂\n https://t.co/vfQnVPnHPN",
"id": "1912291189518397614",
"edit_history_tweet_ids": [
"1912291189518397614"
]
},
{
"text": "💯 https://t.co/uSVss2CzQf",
"id": "1912277165707526577",
"edit_history_tweet_ids": [
"1912277165707526577"
]
},
{
"text": "Veritas https://t.co/9IBbtoAt4U",
"id": "1912272542624280745",
"edit_history_tweet_ids": [
"1912272542624280745"
]
},
{
"text": "Wow https://t.co/m1SFMZ2eP5",
"id": "1912272125253026080",
"edit_history_tweet_ids": [
"1912272125253026080"
]
},
{
"text": "This year https://t.co/2eCadrXYfd",
"id": "1912243208421023763",
"edit_history_tweet_ids": [
"1912243208421023763"
]
}
],
"meta": {
"newest_id": "1912355571875082427",
"oldest_id": "1912243208421023763",
"result_count": 10,
"next_token": "b26v89c19zqg8o3fsbz763t6mzlpqnd96jcxgbem774vx"
}
}
}
}
/2/tweets/{id}
Returns a variety of information about the Post specified by the requested ID.
Sample Request
curl -X GET "https://api-ai-oracle.apro.com/v2/socialmedia/proxy" \
--header 'X-API-KEY: YOUR API KEY' \
--header 'X-API-SECRET: YOUR API SECRET' \
--header 'Content-Type: application/json' \
--data '{
"name":"Twitter",
"method":"Get",
"path": "/2/tweets/1909854301763387673"
}'
Sample Reponse
{
"status": {
"timestamp": 1744795220622,
"code": 200,
"message": ""
},
"data": {
"name": "twitter",
"timestamp": 1744795220,
"signature": [
{
"signer": "0xB8d725f09fB33852dA862EAB9e68536305CfE289",
"hash": "0x7e7da17d8e18b0247d06ff4bb8e732f96f271e3c3cc563dd04ee460ad6849941",
"signature": "fd681485e65692a2bb43457508b955f62e38c38343ba42021ab6e79377c07bbd4b81167dd38c18db4b39d219d482a43a0d1798d6c0bf2cd7cfe470a2b8f71c6a01",
"timestamp": 1744795220584
},
{
"signer": "0xa79c2F060301ace9DcdcF838DF0F1bD7ff016Bf4",
"hash": "0x3edfd7b67d05c6905237048aec47d1739f221fa72baeab0fd2b16085ff07bd5e",
"signature": "599c655982e6713fbb86be4ffeb3b966424af90305218bedf04d84359931c47a436bdf0aebbdb56f7ee6140a8bf88b4d77e0565c0056a121fa5a60d08d0b07b801",
"timestamp": 1744795220516
},
{
"signer": "0x82c9F939242beDddD9a6EA1AFc823e6dA6658E0b",
"hash": "0x7bcc756b12bfc5a185e366922ddd68d0057462cc38c97d529ef814cf68218c51",
"signature": "5300d45c62df522459545a29b350ce40e1cacd0e9207d0f0434dbaf359ec19036d43978b0a0eaee32ea80f479503da66a3e962ac4d6ed6c0199055d5ca73ca6401",
"timestamp": 1744795220468
},
{
"signer": "0x13Ac6f9B4C3178D92ee60a7aC8e67063dB08552E",
"hash": "0xf8bf1f45148ab1c19a5411078fd224404a3b4dc56cac31c7aab7cf7d7e4df45d",
"signature": "78b01f56d6b14b2f007d02a22a80364047ad64beed2c594034ca954b123eaa1e35b3ba2192d4a98ddf4be6724b16e6091fa5063bfbc16b225dad7d5e6f8db6ab00",
"timestamp": 1744795220576
},
{
"signer": "0x2875540d8fad62e4CDC71d7a59611Eb578ab7Ccc",
"hash": "0x98164984da75b654b8c7ae2d97a234fca1d18a86905f551d749082c8b370353d",
"signature": "b39823881955ac5eb44363cfe219c2f68746b5043bca56e7af895afee2e35a25368bfba00aa410960ce6ed2b691736a2a0e6ac25e6b2ba823de9a9ef8d5bcfd200",
"timestamp": 1744795220495
}
],
"response": {
"data": {
"id": "1909854301763387673",
"text": "Exactly https://t.co/k6IuJcQJnC",
"edit_history_tweet_ids": [
"1909854301763387673"
]
}
}
}
}
/2/users
This endpoint returns information about Users. Specify Users by their ID.
Sample Request
curl -X GET "https://api-ai-oracle.apro.com/v2/socialmedia/proxy" \
--header 'X-API-KEY: YOUR API KEY' \
--header 'X-API-SECRET: YOUR API SECRET' \
--header 'Content-Type: application/json' \
--data '{
"name":"Twitter",
"method":"Get",
"path": "/2/users?ids=12"
}'
Sample Reponse
{
"status": {
"timestamp": 1744795408444,
"code": 200,
"message": ""
},
"data": {
"name": "twitter",
"timestamp": 1744795408,
"signature": [
{
"signer": "0xB8d725f09fB33852dA862EAB9e68536305CfE289",
"hash": "0xbd5fb4ebb718a812e2dba1a224e70eb556e1f417210a0d99dc5088a560a1ddcf",
"signature": "3fad9d998b750a30cc9f49f4f7c628a6c1c92c71bec64eb3e62a47ca95cb34084dbbecfc3b4f493150bcdc54ee8e3162a9096b6a0737ed4d8edccab1829698e801",
"timestamp": 1744795408381
},
{
"signer": "0xa79c2F060301ace9DcdcF838DF0F1bD7ff016Bf4",
"hash": "0x6c2cec3c9cafec0a50ce8f4911e72e11dd2b54b34ebf4d12b2752deffde61224",
"signature": "0119de854a4054c4a26bffe654eb11db4dd7d80564f95cd8881243b415e551852eee2a3e8c5df60024880e62049c0105943690f8b0d3f27475f1dd2dadde1e9f00",
"timestamp": 1744795408411
},
{
"signer": "0x82c9F939242beDddD9a6EA1AFc823e6dA6658E0b",
"hash": "0x1157df214c715b800db8ad7022b6ab037f90425c98c9414a79a96ec295436f35",
"signature": "88ff2303092581d5edf8bdac1968be2b2a7f1b2ed41f46a864bc5f13880b41396d0679a665e857fbca64f8742a5014f3232e09e588e21a456d7176ac2d92d91201",
"timestamp": 1744795408317
},
{
"signer": "0x13Ac6f9B4C3178D92ee60a7aC8e67063dB08552E",
"hash": "0x57e205c697df5625635e87e685fa2f1b73ab298ad7c038a846e1dae9a4013c31",
"signature": "e919e30699af835c77acaea26ee30de9cca8c5a46874628b2243e2800508bd186f86a3cf5e79d5a5cfd37094a5f18216bb5e197982fb610a62583126478971b901",
"timestamp": 1744795408327
},
{
"signer": "0x2875540d8fad62e4CDC71d7a59611Eb578ab7Ccc",
"hash": "0x22253ad448eaf90e51d5cc4b736041f6830fdfe8080726a334696d0ac30a13e8",
"signature": "933fc6baa3d9b51b8d51d05d386bcfa5f3dd41ef3eed682e70cfd21c9e2bfd687bfda11029ff41216f571c8c3c3ad827d0f2854b3c55b2f960d6a56e1bb1a3df01",
"timestamp": 1744795408296
}
],
"response": {
"data": [
{
"id": "12",
"name": "jack",
"username": "jack"
}
]
}
}
}
/2/users/by
This endpoint returns information about Users. Specify Users by their username.
Sample Request
curl -X GET "https://api-ai-oracle.apro.com/v2/socialmedia/proxy" \
--header 'X-API-KEY: YOUR API KEY' \
--header 'X-API-SECRET: YOUR API SECRET' \
--header 'Content-Type: application/json' \
--data '{
"name":"Twitter",
"method":"Get",
"path": "/2/users/by?usernames=elonmusk"
}'
Sample Reponse
{
"status": {
"timestamp": 1744795855321,
"code": 200,
"message": ""
},
"data": {
"name": "twitter",
"timestamp": 1744795855,
"signature": [
{
"signer": "0xB8d725f09fB33852dA862EAB9e68536305CfE289",
"hash": "0x04be2a7c86be2f68294dc005f522aeb4d27c8c8f3710dfd007677b72d072a489",
"signature": "43046b6eab4e5ea98e67f147f840bbf697a3b54350fdadea64abb0c8d959e6ec1d32886c6e532cdf2c22258515a0e0a450fd2b0742c0d70a2f7d4d767c5a9ea301",
"timestamp": 1744795855181
},
{
"signer": "0xa79c2F060301ace9DcdcF838DF0F1bD7ff016Bf4",
"hash": "0x1b016e3b2d6a8514d5f163326f2078811b8f1d1a251723497b267c839e843054",
"signature": "e23c368bec8177b607598bd1edebec54183a16c429b6a7df3fd8f76e8e46856a3d19a010bc15c00a4952e662a108ba42d2c24480f494225385ac3423bee6953b01",
"timestamp": 1744795855327
},
{
"signer": "0x82c9F939242beDddD9a6EA1AFc823e6dA6658E0b",
"hash": "0x1bded799cd3ace22733c9906e00b9738910c1811e53722455004bcfe5a474d61",
"signature": "3eb8e5b6edb5bbbe0d54028d62ade1a122aadd14478e0846be54b9d65eefe0ed6144a3dcc93a9ee22dbd1fc4920f165f3c2ae1d9c3f49e85aac59a3740bc3b6a01",
"timestamp": 1744795855368
},
{
"signer": "0x13Ac6f9B4C3178D92ee60a7aC8e67063dB08552E",
"hash": "0xa43a8fb0aabaef2e4958f110b7b3d41ade541b2c2b360c0695e380dd657ed945",
"signature": "2dd5091646c7aaf9b37483f8ba53e5ca3f54f902b58bd2071a811681ad14582b6731fd97b090ff040978b7fe7f6181f143dcab5950d2216624134f9e85422ef500",
"timestamp": 1744795855347
},
{
"signer": "0x2875540d8fad62e4CDC71d7a59611Eb578ab7Ccc",
"hash": "0x6587c756670ca0f13128bcfe1ebfe5bec13e9d621fe08a30b1dcd4c866cd51de",
"signature": "a9c8afead0c8fab7ef7d464f5b175fb6f60a1a2b5b2b26fa8e50097ecb0f9ddf6d3636729772c0d04608d64cb9568d9cb149d9d7dc7d3cfd36d115363a89f88501",
"timestamp": 1744795855269
}
],
"response": {
"data": [
{
"id": "44196397",
"name": "Elon Musk",
"username": "elonmusk"
}
]
}
}
}
/2/users/by/username/{username}
This endpoint returns information about a User. Specify User by username.
Sample Request
curl -X GET "https://api-ai-oracle.apro.com/v2/socialmedia/proxy" \
--header 'X-API-KEY: YOUR API KEY' \
--header 'X-API-SECRET: YOUR API SECRET' \
--header 'Content-Type: application/json' \
--data '{
"name":"Twitter",
"method":"Get",
"path": "/2/users/by/username/elonmusk"
}'
Sample Reponse
{
"status": {
"timestamp": 1744795971691,
"code": 200,
"message": ""
},
"data": {
"name": "twitter",
"timestamp": 1744795971,
"signature": [
{
"signer": "0xB8d725f09fB33852dA862EAB9e68536305CfE289",
"hash": "0x7b906a0cd2c7e062c74a3d091ffb88a6f33fff066916f0e63ffb9f4269bd7c76",
"signature": "170218f4fbcf7069aa1a1f1140b9cc43bd343f3d3ed390e4b5af8e937d78aa175a1d19d8fd73197f97a35322b94653eb20dcf3f328d993bb97dbcf0a70adb76601",
"timestamp": 1744795971588
},
{
"signer": "0xa79c2F060301ace9DcdcF838DF0F1bD7ff016Bf4",
"hash": "0x13b1618dd61779c091642bc69885e00e5377300a43b1f798e672b275d14fadb7",
"signature": "269729ada8778d50739da40bf914897d89782696d35522d3404db4334599193f7f909079408ad9df8b7dda747b8b60f66a5353819fcc057e9946a296326368cd00",
"timestamp": 1744795971654
},
{
"signer": "0x82c9F939242beDddD9a6EA1AFc823e6dA6658E0b",
"hash": "0x40cf7e314338a3cd42b4a73b6bd7d8c1ff732a57406f7be4d4ff63ad19a8f420",
"signature": "01151280f531cb902f1e94437da2d07a1cdab77f090e81f87367420f579ff3985cf121748d28244e312e93b05a2c41168723b3df39766eb6a4153a4b4682a02700",
"timestamp": 1744795971631
},
{
"signer": "0x13Ac6f9B4C3178D92ee60a7aC8e67063dB08552E",
"hash": "0xbe0e5562128288648a298e35c9250cd1ce55f7c516e46af14b8804aa7b1c744b",
"signature": "1e65a27bc6eb3af94b198fe4632cc8e66963beca958c41155b11e85babab4c7a14e822d860ae440b1cd0136ae2f0a34c39d8cee64418e8ad12468cf2092a8e3101",
"timestamp": 1744795971542
},
{
"signer": "0x2875540d8fad62e4CDC71d7a59611Eb578ab7Ccc",
"hash": "0x81b0dd77ba52f5ddfd8f9fe11912969fa72c0ec074821629ee07f0c8d680c9f9",
"signature": "08543b3a08379b200305ffec55f2ac5b097dcb2534b71301ce57f1007da276577daac6056038b4f6e6ce94918263d481736a245104a1dfa14b5ae12535e36a7c01",
"timestamp": 1744795971692
}
],
"response": {
"data": {
"id": "44196397",
"name": "Elon Musk",
"username": "elonmusk"
}
}
}
}
/2/users/{id}
This endpoint returns information about a User. Specify User by ID.
Sample Request
curl -X GET "https://api-ai-oracle.apro.com/v2/socialmedia/proxy" \
--header 'X-API-KEY: YOUR API KEY' \
--header 'X-API-SECRET: YOUR API SECRET' \
--header 'Content-Type: application/json' \
--data '{
"name":"Twitter",
"method":"Get",
"path": "/2/users/12"
}'
Sample Reponse
{
"status": {
"timestamp": 1744796168190,
"code": 200,
"message": ""
},
"data": {
"name": "twitter",
"timestamp": 1744796168,
"signature": [
{
"signer": "0xB8d725f09fB33852dA862EAB9e68536305CfE289",
"hash": "0x97b06df6f1924a9395cc6e70ca9a46f125c3a147d9b287ce03832a90ffe0c4b8",
"signature": "8505a5ecf1fbc992793bf77da2ac3bd286f099ca4d755e0aecd7a8c3bbfcb26226a46095bce10f89fbe41695b2fbbfcc330c12a012f8474ae85681ac2ace9d2600",
"timestamp": 1744796168133
},
{
"signer": "0xa79c2F060301ace9DcdcF838DF0F1bD7ff016Bf4",
"hash": "0x8c00889594fe8c6d27b92f99d283282801335e6f547a9ceff7a894666505f062",
"signature": "dd84352fedec6a7c272c0230b89fff8b880f5cd5d19274e1febb0ce1d89497f311c5a871ceb4e9cf68b9d4e97c5954fd017af075d30908dae6645b6e96c1bacf01",
"timestamp": 1744796168219
},
{
"signer": "0x82c9F939242beDddD9a6EA1AFc823e6dA6658E0b",
"hash": "0x65ead6e1e3792750a8a496403dd9a56f6369f42401c76285ee3e38e472393072",
"signature": "9b3bbca8695166ea79945d52bc4e6de12880e4e28af9497e3fa4d1f8a1b3039801763bcebe394305859d62a5902e8f9fdd0fd2ffe5bb365285c0ebf530f6e46301",
"timestamp": 1744796168090
},
{
"signer": "0x13Ac6f9B4C3178D92ee60a7aC8e67063dB08552E",
"hash": "0x708e41dd1af30882ef3becdc479c6538a285b2c95a55181349724389e5f2056e",
"signature": "86380d84cc286a5db692eb9655997ea928fe5a042dd87b898cdd83c3e00b00d244c0b0ad275d9d0e8e1ae6f960ef40c9548a9799fdbb14956f45ec0750de401d01",
"timestamp": 1744796168239
},
{
"signer": "0x2875540d8fad62e4CDC71d7a59611Eb578ab7Ccc",
"hash": "0x76f1af1b32ec18bf666c5257797b3062f180ddf04a52cc00fbbf946a5797528c",
"signature": "847829fd3e3f69ac1cf54fcb1ed4d758ee6f3998d1f1bea61f0bb286eca5a23006639b1e729d735f234fa5106c263393645f975d6d9aa5c95611d00f077c99a900",
"timestamp": 1744796168223
}
],
"response": {
"data": {
"id": "12",
"name": "jack",
"username": "jack"
}
}
}
}
/2/users/{id}/mentions
Returns Post objects that mention username associated to the provided User ID.
Sample Request
curl -X GET "https://api-ai-oracle.apro.com/v2/socialmedia/proxy" \
--header 'X-API-KEY: YOUR API KEY' \
--header 'X-API-SECRET: YOUR API SECRET' \
--header 'Content-Type: application/json' \
--data '{
"name":"Twitter",
"method":"Get",
"path": "/2/users/12/mentions"
}'
Sample Reponse
{
"status": {
"timestamp": 1744796271688,
"code": 200,
"message": ""
},
"data": {
"name": "twitter",
"timestamp": 1744796271,
"signature": [
{
"signer": "0xB8d725f09fB33852dA862EAB9e68536305CfE289",
"hash": "0x359d174b948c56d5f888ca38121a752474af188afc9c2cf573d05500c49796d4",
"signature": "77252ed2e2f0ba8c69d8d84ee659d0976b583604b631b766cba362163695b3063f3913e9f32f118d9a92e885dd88d236cf757e9627c16752a80055760986d98001",
"timestamp": 1744796271655
},
{
"signer": "0xa79c2F060301ace9DcdcF838DF0F1bD7ff016Bf4",
"hash": "0x2fb3df3cb4c3c1ed346698d78b21e9b03c3d23ee38b863d2d4b02ceb1b6fe227",
"signature": "ac43ded91ba5833c0dcaa1aea0dccf8184969ca6df6a1103195b354740eafaf954dc1c699d5234f4b6d1ae2d1baf3014577982109e85dabc3c1efdd7ee9ab6e800",
"timestamp": 1744796271499
},
{
"signer": "0x82c9F939242beDddD9a6EA1AFc823e6dA6658E0b",
"hash": "0x200d0d27b6b108e02fc1ad68ebbdd5a61f801c975527dfabab45beeab0246f6d",
"signature": "c989c460c4675a55081e79347afe8a9b371be36f96ba7e29e6d9bdcf8b1e1fd26c1863c084f62fb192714da5b1a4cd0e70aa9b843afbef827ff79b6205422eda00",
"timestamp": 1744796271515
},
{
"signer": "0x13Ac6f9B4C3178D92ee60a7aC8e67063dB08552E",
"hash": "0x3b0f0b1d63b90f16b194c2b6fcb4ca0d4a730a8050bcfb7954b69e119e06e95e",
"signature": "ce885790b295cde8a3e69ef5e0c01f34d2e208ad6af79b6145c9f523897cf0f71b93b41fe01e5275aad7a48c99f83f91e2bf7fb91f047ced63fc7062643eee8f01",
"timestamp": 1744796271670
},
{
"signer": "0x2875540d8fad62e4CDC71d7a59611Eb578ab7Ccc",
"hash": "0x5608566369a6f96dbdf6c6f44542f038020c6247d96a0867d839875028bfb5c7",
"signature": "22f733a3a57e832f8beb72e1737d3a9630ec3e1e8b03744cf3367ab9406e32ec19950f716473eb2edbaa8fb9cc53fcb15ced792bb933d878296fa274a8f233e501",
"timestamp": 1744796271693
}
],
"response": {
"data": [
{
"edit_history_tweet_ids": [
"1912440047506215102"
],
"text": "@tyrannideris @jack labelling them gatekeepers could prob be described as an incorrect use of the english language",
"id": "1912440047506215102"
},
{
"edit_history_tweet_ids": [
"1912439881902547311"
],
"text": "@tyrannideris @jack also, 'they protect gatekeepers'?? incorrect, they protect the creatives",
"id": "1912439881902547311"
},
{
"edit_history_tweet_ids": [
"1912439681439977650"
],
"text": "@tyrannideris @jack & just who & what is going to be generating all these innovations? A.I's? they're a VERY long way away from being original voice creatives, they're only the technicians. so who exactly is it that's supposed to be bothering themselves to do the work? no-one that can't monitise it",
"id": "1912439681439977650"
},
{
"edit_history_tweet_ids": [
"1912438584507777055"
],
"text": "@jack @GmorganJr there aren't many people that are the original idea creatives able to push progression along, abolishing their ability to monitise their creativity will abolish the point of speedy exection, there'd be nothing there to speedily execute, bc creatives would just give up",
"id": "1912438584507777055"
},
{
"edit_history_tweet_ids": [
"1912437730832678989"
],
"text": "Exited to see how the community is ready to embrace Bitcoin - let's unlocked Bitcoin together @afribitcoiners @AfribitKibera @FreeRoutingAf @gonlineafrica @tando_me @herrytheeagle @StephTitcombe @jack https://t.co/VhlQu4eXuO",
"id": "1912437730832678989"
},
{
"edit_history_tweet_ids": [
"1912433818608497028"
],
"text": "@shadygrooove @jack Happy delta day.\nIt has been five years. https://t.co/uldZI8eIw8",
"id": "1912433818608497028"
},
{
"edit_history_tweet_ids": [
"1912432801997115674"
],
"text": "@jack No. But delete SOFTWARE PATENTS.",
"id": "1912432801997115674"
},
{
"edit_history_tweet_ids": [
"1912432668127699305"
],
"text": "@MPD_sousa1 @kishida230 @ome_city_tokyo @shigeruishiba @ecoyuri @ozawa_jimusho @POTUS @joyu_fumihiro @MOJ_HOUMU @HeizoTakenaka @NPA_KOHO @edanoyukio0531 @sugawitter @KishiNobuo @shiikazuo @onojiro @MIC_JAPAN @MLIT_JAPAN @meti_NIPPON @MOF_Japan @nobuogohara @hashimoto_lo @KPP_yokushi @mizuhofukushima @masason @MasuzoeYoichi @Chibakenkei @spp_jyouhoukan @mextjapan @elonmusk @yamaguchinatsuo @EUinJapan @finkd @jack @asahi @Yomiuri_Online @mainichi @Sankei_news @ohsemachi @ChnEmbassy_jp @RusEmbassyJ @UKinJapan @Kankyo_Jpn @izumi_akashi @MAFF_JAPAN @realDonaldTrump @SPP_kouhou 本日は児童も成人も匿名流動本部の管制でいつもより多く増員され、襲撃事案を増やし青梅署PCの仕事を増やしている\n\n日本政府内反社=ナチス虐殺志向の過激派の皆様、ご満足ですか?\n\n当Deepstate世界政府治安当局の「適正な処罰」を受ける心の準備を\n\nhttps://t.co/Z0XywAEoL8",
"id": "1912432668127699305"
},
{
"edit_history_tweet_ids": [
"1912432067268182146"
],
"text": "@IanCarrollShow @jack @NicoleShanahan Just checked. Ian Carroll is done.",
"id": "1912432067268182146"
},
{
"edit_history_tweet_ids": [
"1912431910803955755"
],
"text": "@JodiL792 @jack 32 13=45=9",
"id": "1912431910803955755"
}
],
"meta": {
"next_token": "7140dibdnow9c7btw4e02dhf8yjt1npyjbxpx51401ved",
"result_count": 10,
"newest_id": "1912440047506215102",
"oldest_id": "1912431910803955755"
}
}
}
}
/2/users/{id}/tweets
Returns a list of Posts authored by the provided User ID.
Sample Request
curl -X GET "https://api-ai-oracle.apro.com/v2/socialmedia/proxy" \
--header 'X-API-KEY: YOUR API KEY' \
--header 'X-API-SECRET: YOUR API SECRET' \
--header 'Content-Type: application/json' \
--data '{
"name":"Twitter",
"method":"Get",
"path": "/2/users/12/tweets"
}'
Sample Reponse
{
"status": {
"timestamp": 1744796221286,
"code": 200,
"message": ""
},
"data": {
"name": "twitter",
"timestamp": 1744796221,
"signature": [
{
"signer": "0xB8d725f09fB33852dA862EAB9e68536305CfE289",
"hash": "0x5064ded60ded65e5fbaa055a5ca2333d2eecfa6e04aa36aa0912aa5d222c20cc",
"signature": "2bf172e7ecbeac6353fbc6fb1e71d6eafcf836eb71abe91fc8db222726dd6d730ded21bcdc06859cb49c4d90eb8afb2a014ab3bc1b169b88b15aa9ec61a34dbd00",
"timestamp": 1744796221229
},
{
"signer": "0xa79c2F060301ace9DcdcF838DF0F1bD7ff016Bf4",
"hash": "0xc5c4af4cc2f00dc08aa797b95a93be6e9ffa2b7c0d8fb0ce22492680e20ae33a",
"signature": "5b6df69d3115c81b79b69ad18d4379c4827b3506df3762760509199673495f9729415ef433046e23b4a3ea542ef6f66b557b43db3aed8cb3862d5f806953047401",
"timestamp": 1744796221164
},
{
"signer": "0x82c9F939242beDddD9a6EA1AFc823e6dA6658E0b",
"hash": "0xdcbadb3b5748ce711668d74ffc117f9144c60c30abcc446dd7c24e81da65b627",
"signature": "4da25995846bc02748a9f4273cf81e42400e2ec1eeb9dcd3c94b78a8d7b379883002d5fee0d93fb2a18dcfb40ee368b112848cc7036e2b36b0ebdc74f4b37b9301",
"timestamp": 1744796221134
},
{
"signer": "0x13Ac6f9B4C3178D92ee60a7aC8e67063dB08552E",
"hash": "0x9b36d794da1224f1ae21fd8ee7816e334e08a62e14a65a61405f29bfd1b18f00",
"signature": "343cd3592cddde47e70c637279b954e4c2ea5d7a44546cb6d4c7296140f1f2af5d578a41a4c1378f888b56b2cc35248e196e362535a022b15768b1817376de4d00",
"timestamp": 1744796221296
},
{
"signer": "0x2875540d8fad62e4CDC71d7a59611Eb578ab7Ccc",
"hash": "0xe02beabcaecd14d94196a62808183e6b275aef7270e7886e0d0789d241ca06ec",
"signature": "1683f6c654da427e5facf0730ed206ca8341c13dcecc33a673ff818f028b6e0a495527675823540ba3ef6fa6f10e78234087d381400352959bf6f3c81cfb152300",
"timestamp": 1744796221249
}
],
"response": {
"data": [
{
"id": "1910067114729501170",
"text": "RT @suhemparack: You can now get the email address for authenticated users using OAuth 2.0 in the X API v2. This means devs should start mo…",
"edit_history_tweet_ids": [
"1910067114729501170"
]
},
{
"id": "1910049134876483981",
"text": "RT @mike_rosinsky: Want to get ahead of the curve? Companies, investors, hobbyists alike: our real-time data endpoints will bring you what…",
"edit_history_tweet_ids": [
"1910049134876483981"
]
},
{
"id": "1910019654527140111",
"text": "@cb_doge ❤️",
"edit_history_tweet_ids": [
"1910019654527140111"
]
},
{
"id": "1910019458934194215",
"text": "@chrisparkX 👩\u200d💻🧑\u200d💻",
"edit_history_tweet_ids": [
"1910019458934194215"
]
},
{
"id": "1910017008143614018",
"text": "Exploring the X API Developer Experience https://t.co/EspMmkpjGc",
"edit_history_tweet_ids": [
"1910017008143614018"
]
},
{
"id": "1909993952276840603",
"text": "Join us today at 10:00 am PT 📢 https://t.co/urE7xJ980q",
"edit_history_tweet_ids": [
"1909993952276840603"
]
},
{
"id": "1907494842357387593",
"text": "Join us next Wednesday April 9th at 10:00 am PT to learn about our new developer docs and how you can get started with the X API v2 quickly https://t.co/6OWF3nuH6m",
"edit_history_tweet_ids": [
"1907494842357387593"
]
},
{
"id": "1904294873710424310",
"text": "In Jan 2025, we launched new X API v2 media upload endpoints.\n\nBased on feedback from the developer community, we're working on additional improvements, and will be extending the migration timeline to Apr 30, 2025.\n\nCheck out the post below for details 👇\nhttps://t.co/E2z8AeZnhm",
"edit_history_tweet_ids": [
"1904294873710424310"
]
},
{
"id": "1903156476086276191",
"text": "@Nexuist @chrisparkX ❤️",
"edit_history_tweet_ids": [
"1903156476086276191"
]
},
{
"id": "1903156326865465416",
"text": "RT @Nexuist: Credit where credit is due: the X API team met with me over this post and allowed me to air out my grievances + brainstorm maj…",
"edit_history_tweet_ids": [
"1903156326865465416"
]
}
],
"meta": {
"next_token": "7140dibdnow9c7btw4dzn9zb70ozogky2lv2osvddf3na",
"result_count": 10,
"newest_id": "1910067114729501170",
"oldest_id": "1903156326865465416"
}
}
}
}
Last updated