Social media relevancy

This API is to get social media relevancy.

get
Get social media relevancy

https://datascience.api.dev.bitcurate.com/social_relevancy
This endpoint allows you to get social media relevancy.
Request
Response
Query Parameters
query
optional
string
string query, example '(bitcoin OR btc) AND binance'. Default is None.
hist_interval
optional
string
size of date histogram, example '1h'. Default is '1h', only accept 'Nt', N = positive integer, t = ['h', 'd', 'm']. If 'm', only accept more than or equal to 10.
before_date
optional
string
Start date to get the trend, format 'm/d/Y H:M'. Default is now minus 2 days.
after_date
optional
string
End date to get the trend, format 'm/d/Y H:M'. Default is now.
200: OK
Successfully retrieved.
{
"label": [
"relevant",
"relevant",
"relevant",
"relevant",
"relevant",
"relevant",
"relevant",
"relevant",
"relevant",
"relevant",
"relevant",
"relevant",
"relevant",
"relevant",
"relevant",
"relevant",
"relevant",
"relevant",
"relevant",
"relevant",
"relevant",
"relevant",
"relevant",
"relevant",
"relevant",
"relevant",
"relevant",
"relevant",
"relevant",
"relevant",
"relevant",
"relevant",
"relevant",
"relevant",
"relevant",
"relevant",
"relevant",
"relevant",
"relevant",
"relevant",
"relevant",
"relevant",
"relevant",
"relevant",
"relevant",
"relevant",
"relevant",
"relevant",
"relevant",
"relevant",
"relevant",
"relevant",
"relevant",
"relevant",
"relevant",
"relevant",
"relevant"
],
"not relevant": [
0.38424117934354834,
0.37469752922525823,
0.41117650605276457,
0.43232853657698844,
0.4221495322117222,
0.3935790932554747,
0.42518909553996703,
0.3993896065011612,
0.43252808945215726,
0.43151240355702314,
0.4163773934372487,
0.4278247792644608,
0.4492352346879393,
0.4317338129365216,
0.4234217349594181,
0.4400096810451251,
0.43844122727693763,
0.4259222149948802,
0.440528380917771,
0.4198408945389692,
0.438342561197039,
0.4361452024660542,
0.4373159366382843,
0.4664770514237296,
0.4406962246952758,
0.4266279564079616,
0.43723662013289016,
0.4456029384711245,
0.443524479251563,
0.40136241756438934,
0.4040499138409988,
0.41523518163385514,
0.408460454330193,
0.43726457637687627,
0.419771755557356,
0.4229057614579982,
0.43956827388016084,
0.43528701556163035,
0.437280002716474,
0.44637645403832293,
0.43605504036346476,
0.4291280664696704,
0.4441996652615974,
0.4302898109711147,
0.44046638699030016,
0.44587501756227327,
0.42566965746410407,
0.43244105354306933,
0.47647669424624356,
0.46600134380887265,
0.4241914510250456,
0.416765475945226,
0.4376518546467536,
0.4138814082670516,
0.42953941564538006,
0.431355109912115,
0.41519337501852255
],
"relevant": [
0.6157588110131732,
0.6253024630941875,
0.5888234894453458,
0.5676714630567864,
0.577850465127305,
0.6064209010363745,
0.5748109000635271,
0.6006103979521282,
0.5674719112246189,
0.568487595877131,
0.5836226055238826,
0.5721752193081405,
0.55076476478648,
0.5682661862083168,
0.5765782650204426,
0.5599903171265517,
0.5615587700790617,
0.5740777830814862,
0.5594716157459149,
0.5801591031603249,
0.5616574407704769,
0.5638547968412788,
0.5626840619137454,
0.533522949372405,
0.5593037765882579,
0.5733720438819221,
0.5627633792620023,
0.5543970604081484,
0.5564755183178172,
0.5986375831302381,
0.5959500860008666,
0.5847648175882681,
0.5915395448588159,
0.5627354251284126,
0.5802282422030924,
0.5770942364570883,
0.5604317260947829,
0.5647129835822842,
0.5627199978240839,
0.5536235472690852,
0.5639449605062711,
0.5708719316031083,
0.5558003337787621,
0.5697101879952904,
0.5595336135888228,
0.5541249839710255,
0.5743303412339784,
0.5675589476283251,
0.5235233060366352,
0.5339986555171672,
0.5758085467413735,
0.58323452297003,
0.5623481432139742,
0.5861185859402136,
0.5704605842492485,
0.568644890106004,
0.5848066238225463
],
"timestamp": [
"2019-07-17 05:00:00",
"2019-07-17 06:00:00",
"2019-07-17 07:00:00",
"2019-07-17 08:00:00",
"2019-07-17 09:00:00",
"2019-07-17 10:00:00",
"2019-07-17 11:00:00",
"2019-07-17 12:00:00",
"2019-07-17 13:00:00",
"2019-07-17 14:00:00",
"2019-07-17 15:00:00",
"2019-07-17 16:00:00",
"2019-07-17 17:00:00",
"2019-07-17 18:00:00",
"2019-07-17 19:00:00",
"2019-07-17 20:00:00",
"2019-07-17 21:00:00",
"2019-07-17 22:00:00",
"2019-07-17 23:00:00",
"2019-07-18 00:00:00",
"2019-07-18 01:00:00",
"2019-07-18 02:00:00",
"2019-07-18 03:00:00",
"2019-07-18 04:00:00",
"2019-07-18 05:00:00",
"2019-07-18 06:00:00",
"2019-07-18 07:00:00",
"2019-07-18 08:00:00",
"2019-07-18 09:00:00",
"2019-07-18 10:00:00",
"2019-07-18 11:00:00",
"2019-07-18 12:00:00",
"2019-07-18 13:00:00",
"2019-07-18 14:00:00",
"2019-07-18 15:00:00",
"2019-07-18 16:00:00",
"2019-07-18 17:00:00",
"2019-07-18 18:00:00",
"2019-07-18 19:00:00",
"2019-07-18 20:00:00",
"2019-07-18 21:00:00",
"2019-07-18 22:00:00",
"2019-07-18 23:00:00",
"2019-07-19 00:00:00",
"2019-07-19 01:00:00",
"2019-07-19 02:00:00",
"2019-07-19 03:00:00",
"2019-07-19 04:00:00",
"2019-07-19 05:00:00",
"2019-07-19 06:00:00",
"2019-07-19 07:00:00",
"2019-07-19 08:00:00",
"2019-07-19 09:00:00",
"2019-07-19 10:00:00",
"2019-07-19 11:00:00",
"2019-07-19 12:00:00",
"2019-07-19 13:00:00"
]
}
400: Bad Request
Errors from parameters given.
{
"message": "distance from 2 dates need less than 90 days",
"status": 400
}
{
"message": "hist_interval only accept ['h', 'd', 'm']",
"status": 400
}
{
"message": "hist_interval must Nt, N = positive integer, t = interval",
"status": 400
}
{
"message": "'m' size only accept more than or equal to 10",
"status": 400
}
{
"message": "data not available",
"status": 400
}