Social media sarcasm

This API is to get social media sarcasm.

get
Get social media sarcasm

https://datascience.api.dev.bitcurate.com/social_sarcasm
This endpoint allows you to get social media sarcasm.
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": [
"not sarcastic",
"not sarcastic",
"not sarcastic",
"not sarcastic",
"sarcastic",
"not sarcastic",
"not sarcastic",
"not sarcastic",
"sarcastic",
"sarcastic",
"not sarcastic",
"sarcastic",
"sarcastic",
"sarcastic",
"sarcastic",
"sarcastic",
"sarcastic",
"sarcastic",
"sarcastic",
"sarcastic",
"sarcastic",
"sarcastic",
"sarcastic",
"sarcastic",
"not sarcastic",
"sarcastic",
"sarcastic",
"sarcastic",
"not sarcastic",
"sarcastic",
"not sarcastic",
"sarcastic",
"sarcastic",
"sarcastic",
"sarcastic",
"not sarcastic",
"not sarcastic",
"sarcastic",
"sarcastic",
"sarcastic",
"sarcastic",
"sarcastic",
"not sarcastic",
"sarcastic",
"sarcastic",
"sarcastic",
"sarcastic",
"sarcastic",
"sarcastic",
"sarcastic",
"sarcastic",
"sarcastic",
"not sarcastic",
"not sarcastic",
"not sarcastic",
"sarcastic",
"sarcastic"
],
"not sarcastic": [
0.5357839881016354,
0.5303561719937349,
0.5236031393847658,
0.5159011902354345,
0.49595942878196125,
0.5119144155886773,
0.5204196521623862,
0.5203961147148543,
0.4977670075115407,
0.4895348623050857,
0.5083320061054059,
0.48856148340800065,
0.4725813098200161,
0.49028902989249157,
0.4843687661050046,
0.48070316021670595,
0.48699665086419236,
0.4929936764503964,
0.4866868116482786,
0.49058595322812043,
0.4844952096636282,
0.4957397089551174,
0.4790593110067421,
0.4778702980677493,
0.5018556744760796,
0.4998547979253781,
0.48485834013118795,
0.491398275638479,
0.5104097809813598,
0.4835629466138182,
0.5025711182828838,
0.48886822963754556,
0.49419970287044124,
0.48386874364991966,
0.4972082938029255,
0.5126637999599356,
0.5139475596994917,
0.4947412907908675,
0.48119128431798885,
0.4993327721032483,
0.49340863191671636,
0.4964220752970117,
0.505123893224069,
0.4912399274218224,
0.48539922305629174,
0.48953093080596194,
0.4936328979756382,
0.4885584964674626,
0.47697048373671314,
0.4692574842018385,
0.49215072797563914,
0.4910531594901165,
0.5070948546263968,
0.5287020542074585,
0.5031631466509815,
0.4884033522158538,
0.4949903321809909
],
"sarcastic": [
0.46421600541959884,
0.46964382909155467,
0.4763968615383885,
0.484098809932547,
0.5040405703100775,
0.4880855851230696,
0.47958034810873607,
0.47960388413349525,
0.5022329937796947,
0.5104651405058284,
0.4916679914397394,
0.5114385125425157,
0.5274186874552338,
0.5097109696524078,
0.5156312342347737,
0.5192968393498583,
0.5130033505960317,
0.5070063220915015,
0.513313187370575,
0.5094140462901081,
0.5155047867061134,
0.5042602887656108,
0.5209406900546559,
0.5221297023924735,
0.49814432600553404,
0.5001452008734103,
0.515141658988903,
0.5086017209514757,
0.48959021780979795,
0.5164370546652606,
0.4974288800982022,
0.511131769698551,
0.5058002940841594,
0.5161312573052462,
0.5027917064826807,
0.48733620169514574,
0.48605244166692313,
0.5052587097963012,
0.5188087142467953,
0.5006672290721228,
0.5065913665002967,
0.5035779254549916,
0.49487610722060565,
0.5087600719902552,
0.5146007756307974,
0.5104690681713328,
0.5063671017322848,
0.5114415032930874,
0.5230295150040338,
0.5307425155392447,
0.5078492721419793,
0.5089468384365027,
0.49290514614539294,
0.4712979443401895,
0.4968368486813357,
0.5115966474160167,
0.5050096630898168
],
"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
}