Handbook objects requests

Sometimes can be useful search some needed elements here. Especially if you don't know what you need. They are opened and everyone can get this information.

Most popular request GET argument in this section is q . With this tool you can find needed element inside our datasets. Just type search string inside

Coin

It's a general meta object which have relationship with every object in our crypto analytic system. Before send request you should know coins list which will be return in response data. In coin object we has stored public information about it. Like official website, logo, social media, datalight rank and some other. Most important rows in response is id and symbol . They are foreign keys for other queries and will be required in the data request.

get
Search in coins list

https://api.datalight.me/v1/coin/?q=bit?&limit=12&offset=0&order=-rank
From this entrypoint you can search coins in our database. It's full list of coins what we handle.
Request
Response
Query Parameters
order
optional
string
offset
optional
integer
limit
optional
integer
q
optional
string
query string
200: OK
{
limit: 1,
offset: 0,
order: "rank",
count: 41,
response_time: "0.017636 seconds",
result: [
{
id: "bitcoin",
rank: 1,
symbol: "BTC",
name: "Bitcoin",
description: "The First crypto ever",
short_description: "Bitcoin is an innovative payment network and a new kind of money.",
logo: "https://datalight.me/media/coins/logo-BTC_iKkTplL.svg",
icon: "https://datalight.me/media/coins/icon-BTC_4njPrdL.svg",
head_picture: "https://datalight.me/media/coins/btc_MtXfQlH.svg",
blog: "",
facebook: "https://www.facebook.com/bitcoins",
google: "",
linkedin: "",
medium: "",
reddit: "https://www.reddit.com/r/Bitcoin/",
telegram: "",
twitter: "",
vkontakte: "",
website: "https://bitcoin.org/",
youtube: ""
}
]
}

Default values for request

Query parameter

Default value

order

rank

offset

0

limit

100

Objects

Second important object in handbook is Object. It have store information about fields in our system. Inside you can find some specific details about data what you need like data_type and field_type In description raw you will get human readable sting which describe information inside this object. Most important raw value here is id it's foreign key for data request in next section

get
Research objects

https://api.datalight.me/v1/object/?q=twitter.hype.twitter_hype
In this endpoint you can research public objects in our database.
Request
Response
Query Parameters
order
optional
string
offset
optional
integer
limit
optional
integer
q
optional
string
query string for search in objects list
200: OK
Cake successfully retrieved.
{
limit: 100,
offset: 0,
order: "group",
count: 1,
response_time: "0.005703 seconds",
result: [
{
id: "twitter.hype.twitter_hype",
period: null,
meta: false,
title: "Twitter Hype",
group: "SCD",
field_type: "Decimal",
data_type: "Float",
unit_measure: "",
symbol: "",
can_be_null: false,
description: "Twitter Hype",
table_periods: [ ]
}
]
}

Default values for request

Query parameter

Default Value

order

group

offset

0

limit

100

Response values set

field_type = ['Decimal', 'Function', 'Media']
data_type = [
'Integer', 'String', 'Text', 'Date', 'Date and Time', 'Bool', 'Float', 'Picture'
]
unit_measure = ['Currency', 'Percentage']
group = {
'GLB': 'Global',
'MRD': 'Market',
'BCD', 'Blockchain',
'MED', 'Synthetic',
'SCD', 'Social'
}