REST API DOCS
Client APIStatistics

Market Statistics

GET
/backend/api/v1/statistics/market/

Returns market statistics data filtered by type.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Query Parameters

type*string

Type of market data (e.g. last_sale or bbo)

Response Body

application/json

curl -X GET "https://example.com/backend/api/v1/statistics/market/?type=last_sale"
{  "message": "success",  "data": [    {      "id": 1,      "company_profile": {        "symbol": 1,        "user": null,        "security_name": "USDT",        "company_name": "FIMR",        "business_description": "",        "street_address_1": "1",        "street_address_2": "",        "city": "",        "state": "",        "zip_code": "",        "country": "",        "phone": "",        "web_address": "",        "sic_industry_classification": "",        "incorporation_information": "",        "number_of_employees": null,        "company_officers_and_contacts": "",        "board_of_directors": "",        "product_and_services": "",        "company_facilities": "",        "transfer_agent": "",        "accounting_auditing_firm": "",        "investor_relations_marketing_communications": "",        "securities_counsel": "",        "us_reporting": "",        "edgar_cik": "",        "logo": "/media/company_profile_logo/logo.jpg",        "symbol_name": "USDT"      },      "last_price": 44,      "tick_indication": "D",      "symbol_name": "USDT",      "price_changed": -47,      "percentage_changed": -51.65    },    {      "id": 2,      "company_profile": {        "symbol": 2,        "user": null,        "security_name": "TESTA",        "company_name": "Company 1+1",        "business_description": "",        "street_address_1": "",        "street_address_2": "",        "city": "",        "state": "",        "zip_code": "",        "country": "",        "phone": "",        "web_address": "",        "sic_industry_classification": "",        "incorporation_information": "",        "number_of_employees": null,        "company_officers_and_contacts": "",        "board_of_directors": "",        "product_and_services": "",        "company_facilities": "",        "transfer_agent": "",        "accounting_auditing_firm": "",        "investor_relations_marketing_communications": "",        "securities_counsel": "",        "us_reporting": "",        "edgar_cik": "",        "logo": "/media/company_profile_logo/Screenshot_6_klMaKVW.png",        "symbol_name": "TESTA"      },      "last_price": 0,      "tick_indication": "N",      "symbol_name": "TESTA",      "price_changed": 0,      "percentage_changed": 0    },    {      "id": 3,      "company_profile": {        "symbol": 3,        "user": null,        "security_name": "TESTB",        "company_name": "Test Company 2",        "business_description": "Test Description",        "street_address_1": "Test Street",        "street_address_2": "",        "city": "Test City1",        "state": "",        "zip_code": "63330",        "country": "US",        "phone": "+17025555555",        "web_address": "www.test.com",        "sic_industry_classification": "SIC Industry Classification",        "incorporation_information": "Incorporation Information",        "number_of_employees": 123,        "company_officers_and_contacts": "",        "board_of_directors": "",        "product_and_services": "Product & Services",        "company_facilities": "Company Facilities",        "transfer_agent": "Transfer Agent",        "accounting_auditing_firm": "Accounting",        "investor_relations_marketing_communications": "Communications",        "securities_counsel": "Securities Counsel",        "us_reporting": "US Reporting",        "edgar_cik": "cik",        "logo": "/media/company_profile_logo/signature_3.png",        "symbol_name": "TESTB"      },      "last_price": 36,      "tick_indication": "U",      "symbol_name": "TESTB",      "price_changed": 13.88,      "percentage_changed": 62.75    },    {      "id": 4,      "company_profile": {        "symbol": 4,        "user": null,        "security_name": "TESTC",        "company_name": "Test Company 1",        "business_description": "",        "street_address_1": "",        "street_address_2": "",        "city": "",        "state": "",        "zip_code": "",        "country": "",        "phone": "",        "web_address": "",        "sic_industry_classification": "",        "incorporation_information": "",        "number_of_employees": null,        "company_officers_and_contacts": "",        "board_of_directors": "",        "product_and_services": "",        "company_facilities": "",        "transfer_agent": "",        "accounting_auditing_firm": "",        "investor_relations_marketing_communications": "",        "securities_counsel": "",        "us_reporting": "",        "edgar_cik": "",        "logo": null,        "symbol_name": "AAV"      },      "last_price": 500,      "tick_indication": "D",      "symbol_name": "AAV",      "price_changed": -44,      "percentage_changed": -9.65    },    {      "id": 6,      "company_profile": {        "symbol": 6,        "user": null,        "security_name": "QA 10/04/23",        "company_name": "Company 1",        "business_description": "",        "street_address_1": "",        "street_address_2": "",        "city": "",        "state": "",        "zip_code": "",        "country": "",        "phone": "",        "web_address": "",        "sic_industry_classification": "",        "incorporation_information": "",        "number_of_employees": null,        "company_officers_and_contacts": "",        "board_of_directors": "",        "product_and_services": "",        "company_facilities": "",        "transfer_agent": "",        "accounting_auditing_firm": "",        "investor_relations_marketing_communications": "",        "securities_counsel": "",        "us_reporting": "",        "edgar_cik": "",        "logo": null,        "symbol_name": "QA04"      },      "last_price": 151,      "tick_indication": "D",      "symbol_name": "QA04",      "price_changed": 0,      "percentage_changed": 0    },    {      "id": 7,      "company_profile": {        "symbol": 7,        "user": null,        "security_name": "23452",        "company_name": "Company 1",        "business_description": "",        "street_address_1": "",        "street_address_2": "",        "city": "",        "state": "",        "zip_code": "",        "country": "",        "phone": "",        "web_address": "",        "sic_industry_classification": "",        "incorporation_information": "",        "number_of_employees": null,        "company_officers_and_contacts": "",        "board_of_directors": "",        "product_and_services": "",        "company_facilities": "",        "transfer_agent": "",        "accounting_auditing_firm": "",        "investor_relations_marketing_communications": "",        "securities_counsel": "",        "us_reporting": "",        "edgar_cik": "",        "logo": null,        "symbol_name": "WRWER"      },      "last_price": 0,      "tick_indication": "N",      "symbol_name": "WRWER",      "price_changed": 0,      "percentage_changed": 0    },    {      "id": 8,      "company_profile": {        "symbol": 8,        "user": null,        "security_name": "4356",        "company_name": "SEDS",        "business_description": "",        "street_address_1": "",        "street_address_2": "",        "city": "",        "state": "",        "zip_code": "",        "country": "US",        "phone": "",        "web_address": "",        "sic_industry_classification": "",        "incorporation_information": "",        "number_of_employees": null,        "company_officers_and_contacts": "[\"\"]",        "board_of_directors": "[\"\"]",        "product_and_services": "",        "company_facilities": "",        "transfer_agent": "",        "accounting_auditing_firm": "",        "investor_relations_marketing_communications": "",        "securities_counsel": "",        "us_reporting": "",        "edgar_cik": "",        "logo": "/media/company_profile_logo/%D0%91%D0%B5%D0%B7_%D0%B8%D0%BC%D0%B5%D0%BD%D0%B8.png",        "symbol_name": "5464U"      },      "last_price": 10,      "tick_indication": "U",      "symbol_name": "5464U",      "price_changed": 2,      "percentage_changed": 16.67    },    {      "id": 9,      "company_profile": {        "symbol": 9,        "user": null,        "security_name": "2435243",        "company_name": "Company 1+1",        "business_description": "",        "street_address_1": "",        "street_address_2": "",        "city": "",        "state": "",        "zip_code": "",        "country": "",        "phone": "",        "web_address": "",        "sic_industry_classification": "",        "incorporation_information": "",        "number_of_employees": null,        "company_officers_and_contacts": "",        "board_of_directors": "",        "product_and_services": "",        "company_facilities": "",        "transfer_agent": "",        "accounting_auditing_firm": "",        "investor_relations_marketing_communications": "",        "securities_counsel": "",        "us_reporting": "",        "edgar_cik": "",        "logo": "/media/company_profile_logo/Screenshot_6_uWRuUnf.png",        "symbol_name": "435R"      },      "last_price": 0,      "tick_indication": "N",      "symbol_name": "435R",      "price_changed": 0,      "percentage_changed": 0    },    {      "id": 10,      "company_profile": {        "symbol": 10,        "user": null,        "security_name": "QA100523",        "company_name": "Company 1+1",        "business_description": "",        "street_address_1": "",        "street_address_2": "",        "city": "",        "state": "",        "zip_code": "",        "country": "",        "phone": "",        "web_address": "",        "sic_industry_classification": "",        "incorporation_information": "",        "number_of_employees": null,        "company_officers_and_contacts": "",        "board_of_directors": "",        "product_and_services": "",        "company_facilities": "",        "transfer_agent": "",        "accounting_auditing_firm": "",        "investor_relations_marketing_communications": "",        "securities_counsel": "",        "us_reporting": "",        "edgar_cik": "",        "logo": "/media/company_profile_logo/Screenshot_6.png",        "symbol_name": "FE345"      },      "last_price": 22,      "tick_indication": "N",      "symbol_name": "FE345",      "price_changed": 0,      "percentage_changed": 0    },    {      "id": 11,      "company_profile": null,      "last_price": 5650,      "tick_indication": "D",      "symbol_name": "TEST2",      "price_changed": -1550,      "percentage_changed": -21.53    },    {      "id": 12,      "company_profile": {        "symbol": 12,        "user": null,        "security_name": "USDT W",        "company_name": "USDT W CORP",        "business_description": "",        "street_address_1": "",        "street_address_2": "",        "city": "",        "state": "",        "zip_code": "",        "country": "",        "phone": "",        "web_address": "",        "sic_industry_classification": "",        "incorporation_information": "",        "number_of_employees": null,        "company_officers_and_contacts": "",        "board_of_directors": "",        "product_and_services": "",        "company_facilities": "",        "transfer_agent": "",        "accounting_auditing_firm": "",        "investor_relations_marketing_communications": "",        "securities_counsel": "",        "us_reporting": "",        "edgar_cik": "",        "logo": null,        "symbol_name": "TESTW"      },      "last_price": 150,      "tick_indication": "D",      "symbol_name": "TESTW",      "price_changed": 0,      "percentage_changed": 0    },    {      "id": 13,      "company_profile": {        "symbol": 13,        "user": null,        "security_name": "Thomas Jodan",        "company_name": "Tom Jodan",        "business_description": "Latex Industries",        "street_address_1": "",        "street_address_2": "",        "city": "",        "state": "",        "zip_code": "",        "country": "",        "phone": "",        "web_address": "",        "sic_industry_classification": "",        "incorporation_information": "Delaware",        "number_of_employees": 100,        "company_officers_and_contacts": "",        "board_of_directors": "",        "product_and_services": "Latex",        "company_facilities": "Newark, Delaware",        "transfer_agent": "VERTLO",        "accounting_auditing_firm": "Dowecheathimandhow",        "investor_relations_marketing_communications": "",        "securities_counsel": "",        "us_reporting": "GAAP",        "edgar_cik": "",        "logo": "/media/company_profile_logo/dorrs7.png",        "symbol_name": "TOMJ"      },      "last_price": 10,      "tick_indication": "N",      "symbol_name": "TOMJ",      "price_changed": 0,      "percentage_changed": 0    },    {      "id": 14,      "company_profile": null,      "last_price": 10,      "tick_indication": "D",      "symbol_name": "EEED",      "price_changed": 0,      "percentage_changed": 0    },    {      "id": 15,      "company_profile": {        "symbol": 15,        "user": null,        "security_name": "Mann Utitiles",        "company_name": "Mann",        "business_description": "Utilies",        "street_address_1": "1115 West 5th street",        "street_address_2": "",        "city": "New York",        "state": "NY",        "zip_code": "10001",        "country": "US",        "phone": "+12017222728",        "web_address": "www.mann.com",        "sic_industry_classification": "",        "incorporation_information": "Delaware Inc.",        "number_of_employees": 100,        "company_officers_and_contacts": "",        "board_of_directors": "",        "product_and_services": "Power",        "company_facilities": "Newark, Delaware",        "transfer_agent": "Brassica",        "accounting_auditing_firm": "Dowecheathimandhow",        "investor_relations_marketing_communications": "",        "securities_counsel": "",        "us_reporting": "GAAP",        "edgar_cik": "",        "logo": null,        "symbol_name": "MANN"      },      "last_price": 7103.15,      "tick_indication": "N",      "symbol_name": "MANN",      "price_changed": 0,      "percentage_changed": 0    },    {      "id": 16,      "company_profile": null,      "last_price": 0,      "tick_indication": "N",      "symbol_name": "TESTC",      "price_changed": 0,      "percentage_changed": 0    },    {      "id": 17,      "company_profile": null,      "last_price": 11,      "tick_indication": "U",      "symbol_name": "NOV01",      "price_changed": 0,      "percentage_changed": 0    },    {      "id": 18,      "company_profile": null,      "last_price": 70849.08,      "tick_indication": "N",      "symbol_name": "TESTJ",      "price_changed": 0,      "percentage_changed": 0    },    {      "id": 19,      "company_profile": null,      "last_price": 0,      "tick_indication": "N",      "symbol_name": "TE01",      "price_changed": 0,      "percentage_changed": 0    },    {      "id": 20,      "company_profile": {        "symbol": 20,        "user": null,        "security_name": "OTC Markets",        "company_name": "OTC Markets Group Inc",        "business_description": "Reference data",        "street_address_1": "Vesey Street",        "street_address_2": "",        "city": "New York",        "state": "NY",        "zip_code": "10001",        "country": "US",        "phone": "",        "web_address": "www.otcmarkets.com",        "sic_industry_classification": "8900 Office of Trade & Services SERVICES-SERVICES, NEC",        "incorporation_information": "",        "number_of_employees": 100,        "company_officers_and_contacts": "[\"\"]",        "board_of_directors": "[\"\"]",        "product_and_services": "",        "company_facilities": "",        "transfer_agent": "",        "accounting_auditing_firm": "",        "investor_relations_marketing_communications": "",        "securities_counsel": "",        "us_reporting": "GAAP",        "edgar_cik": "",        "logo": null,        "symbol_name": "OTCMX"      },      "last_price": 0,      "tick_indication": "N",      "symbol_name": "OTCMX",      "price_changed": 0,      "percentage_changed": 0    }  ],  "code": 200}