BizToc API v1.0
Scroll down for code samples, example requests and responses. Select a language for code samples from the tabs above or the mobile navigation menu.
BizToc uses Rapid API for its REST API. You may sign up for your free account at https://rapidapi.com/thma/api/biztoc.
The Base URL for all requests is:
- https://biztoc.p.rapidapi.com/
If you're not a developer but would still like to use Biztoc outside of the main website, we've partnered with OpenBB, allowing you to pull in BizToc's news stream in their Terminal.
Questions? Contact Us
Authentication
BizToc uses the standard X-RapidAPI-Key
and X-RapidAPI-Host
header to allow access to the API. You can register a new API key directly on rapidapi.com.
BizToc expects for the API key and Host key to be included in all API requests to the server in a header that look like the following:
X-RapidAPI-Key: RAPIDAPI KEY
X-RapidAPI-Host: biztoc.p.rapidapi.com
Endpoints
The BizToc API resembles most of the content elements and features that are available on the site. Note that certain proprietary and highly dynamic elements suchs as stock tickers or Twitter are not available through the API.
Pages
Code samples
# You can also use wget
curl -X GET https://biztoc.p.rapidapi.com/pages \
-H 'X-RapidAPI-Key: {RAPIDAPI KEY}' \
-H 'X-RapidAPI-Host: biztoc.p.rapidapi.com'
import requests
headers = {
'X-RapidAPI-Key': '{RAPIDAPI KEY}',
'X-RapidAPI-Host': 'biztoc.p.rapidapi.com'
}
r = requests.get('https://biztoc.p.rapidapi.com/pages', headers = headers)
print(r.json())
require 'rest-client'
require 'json'
headers = {
'X-RapidAPI-Key' => '{RAPIDAPI KEY}',
'X-RapidAPI-Host' => 'biztoc.p.rapidapi.com'
}
result = RestClient.get 'https://biztoc.p.rapidapi.com/pages',
params: {
}, headers: headers
p JSON.parse(result)
const headers = {
'X-RapidAPI-Key':'{RAPIDAPI KEY}',
'X-RapidAPI-Host':'biztoc.p.rapidapi.com'
};
fetch('https://biztoc.p.rapidapi.com/pages',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
Get the list of avilable {page_id}
s. Akin to the /crypto and /media sites on biztoc.com. Required parameter for endpoints like Tags/Trending.
HTTP Request
GET /pages
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
X-RapidAPI-Key | header | string | true | {RAPIDAPI KEY} |
X-RapidAPI-Host | header | string | true | 'biztoc.p.rapidapi.com' |
Sources
Code samples
# You can also use wget
curl -X GET https://biztoc.p.rapidapi.com/sources \
-H 'X-RapidAPI-Key: {RAPIDAPI KEY}' \
-H 'X-RapidAPI-Host: biztoc.p.rapidapi.com'
import requests
headers = {
'X-RapidAPI-Key': '{RAPIDAPI KEY}',
'X-RapidAPI-Host': 'biztoc.p.rapidapi.com'
}
r = requests.get('https://biztoc.p.rapidapi.com/sources', headers = headers)
print(r.json())
require 'rest-client'
require 'json'
headers = {
'X-RapidAPI-Key' => '{RAPIDAPI KEY}',
'X-RapidAPI-Host' => 'biztoc.p.rapidapi.com'
}
result = RestClient.get 'https://biztoc.p.rapidapi.com/sources',
params: {
}, headers: headers
p JSON.parse(result)
const headers = {
'X-RapidAPI-Key':'{RAPIDAPI KEY}',
'X-RapidAPI-Host':'biztoc.p.rapidapi.com'
};
fetch('https://biztoc.p.rapidapi.com/sources',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
Lists all currently available {source_id}
s. Equivalent of news blocks on biztoc.com. Note that certain proprietary blocks like Twitter or Stock Tickers are not available.
HTTP Request
GET /sources
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
X-RapidAPI-Key | header | string | true | {RAPIDAPI KEY} |
X-RapidAPI-Host | header | string | true | 'biztoc.p.rapidapi.com' |
Tags/Trending
Code samples
# You can also use wget
curl -X GET https://biztoc.p.rapidapi.com/tags/{page_id} \
-H 'X-RapidAPI-Key: {RAPIDAPI KEY}' \
-H 'X-RapidAPI-Host: biztoc.p.rapidapi.com'
import requests
headers = {
'X-RapidAPI-Key': '{RAPIDAPI KEY}',
'X-RapidAPI-Host': 'biztoc.p.rapidapi.com'
}
r = requests.get('https://biztoc.p.rapidapi.com/tags/{page_id}', headers = headers)
print(r.json())
require 'rest-client'
require 'json'
headers = {
'X-RapidAPI-Key' => '{RAPIDAPI KEY}',
'X-RapidAPI-Host' => 'biztoc.p.rapidapi.com'
}
result = RestClient.get 'https://biztoc.p.rapidapi.com/tags/{page_id}',
params: {
}, headers: headers
p JSON.parse(result)
const headers = {
'X-RapidAPI-Key':'{RAPIDAPI KEY}',
'X-RapidAPI-Host':'biztoc.p.rapidapi.com'
};
fetch('https://biztoc.p.rapidapi.com/tags/{page_id}',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
Get list of trending tags for {page_id}
, sorted by popularity. The {tag}
can be used for the Tag/News endpoint.
HTTP Request
GET /tags/{page_id}
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
X-RapidAPI-Key | header | string | true | {RAPIDAPI KEY} |
X-RapidAPI-Host | header | string | true | 'biztoc.p.rapidapi.com' |
page_id | path | string | true | none |
Tag/News
Code samples
# You can also use wget
curl -X GET https://biztoc.p.rapidapi.com/tag/{tag} \
-H 'X-RapidAPI-Key: {RAPIDAPI KEY}' \
-H 'X-RapidAPI-Host: biztoc.p.rapidapi.com'
import requests
headers = {
'X-RapidAPI-Key': '{RAPIDAPI KEY}',
'X-RapidAPI-Host': 'biztoc.p.rapidapi.com'
}
r = requests.get('https://biztoc.p.rapidapi.com/tag/{tag}', headers = headers)
print(r.json())
require 'rest-client'
require 'json'
headers = {
'X-RapidAPI-Key' => '{RAPIDAPI KEY}',
'X-RapidAPI-Host' => 'biztoc.p.rapidapi.com'
}
result = RestClient.get 'https://biztoc.p.rapidapi.com/tag/{tag}',
params: {
}, headers: headers
p JSON.parse(result)
const headers = {
'X-RapidAPI-Key':'{RAPIDAPI KEY}',
'X-RapidAPI-Host':'biztoc.p.rapidapi.com'
};
fetch('https://biztoc.p.rapidapi.com/tag/{tag}',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
Get the latest news stories for the respective {tag}
in chronological order.
HTTP Request
GET /tag/{tag}
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
X-RapidAPI-Key | header | string | true | {RAPIDAPI KEY} |
X-RapidAPI-Host | header | string | true | 'biztoc.p.rapidapi.com' |
tag | path | string | true | none |
News/Source
Code samples
# You can also use wget
curl -X GET https://biztoc.p.rapidapi.com/news/source/{source_id} \
-H 'X-RapidAPI-Key: {RAPIDAPI KEY}' \
-H 'X-RapidAPI-Host: biztoc.p.rapidapi.com'
import requests
headers = {
'X-RapidAPI-Key': '{RAPIDAPI KEY}',
'X-RapidAPI-Host': 'biztoc.p.rapidapi.com'
}
r = requests.get('https://biztoc.p.rapidapi.com/news/source/{source_id}', headers = headers)
print(r.json())
require 'rest-client'
require 'json'
headers = {
'X-RapidAPI-Key' => '{RAPIDAPI KEY}',
'X-RapidAPI-Host' => 'biztoc.p.rapidapi.com'
}
result = RestClient.get 'https://biztoc.p.rapidapi.com/news/source/{source_id}',
params: {
}, headers: headers
p JSON.parse(result)
const headers = {
'X-RapidAPI-Key':'{RAPIDAPI KEY}',
'X-RapidAPI-Host':'biztoc.p.rapidapi.com'
};
fetch('https://biztoc.p.rapidapi.com/news/source/{source_id}',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
Get the latest news stories for the respective {source_id}
in chronological order.
HTTP Request
GET /news/source/{source_id}
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
X-RapidAPI-Key | header | string | true | {RAPIDAPI KEY} |
X-RapidAPI-Host | header | string | true | 'biztoc.p.rapidapi.com' |
source_id | path | string | true | none |
News/Hot
Code samples
# You can also use wget
curl -X GET https://biztoc.p.rapidapi.com/news/hot \
-H 'X-RapidAPI-Key: {RAPIDAPI KEY}' \
-H 'X-RapidAPI-Host: biztoc.p.rapidapi.com'
import requests
headers = {
'X-RapidAPI-Key': '{RAPIDAPI KEY}',
'X-RapidAPI-Host': 'biztoc.p.rapidapi.com'
}
r = requests.get('https://biztoc.p.rapidapi.com/news/hot', headers = headers)
print(r.json())
require 'rest-client'
require 'json'
headers = {
'X-RapidAPI-Key' => '{RAPIDAPI KEY}',
'X-RapidAPI-Host' => 'biztoc.p.rapidapi.com'
}
result = RestClient.get 'https://biztoc.p.rapidapi.com/news/hot',
params: {
}, headers: headers
p JSON.parse(result)
const headers = {
'X-RapidAPI-Key':'{RAPIDAPI KEY}',
'X-RapidAPI-Host':'biztoc.p.rapidapi.com'
};
fetch('https://biztoc.p.rapidapi.com/news/hot',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
Get trending topic clusters and their respective stories, ordered by a proprietary popularity algorithm. Akin to the /hot view on biztoc.com. The topics and stories will change every 15 minutes.
HTTP Request
GET /news/hot
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
X-RapidAPI-Key | header | string | true | {RAPIDAPI KEY} |
X-RapidAPI-Host | header | string | true | 'biztoc.p.rapidapi.com' |
News/Latest
Code samples
# You can also use wget
curl -X GET https://biztoc.p.rapidapi.com/news/latest \
-H 'X-RapidAPI-Key: {RAPIDAPI KEY}' \
-H 'X-RapidAPI-Host: biztoc.p.rapidapi.com'
import requests
headers = {
'X-RapidAPI-Key': '{RAPIDAPI KEY}',
'X-RapidAPI-Host': 'biztoc.p.rapidapi.com'
}
r = requests.get('https://biztoc.p.rapidapi.com/news/latest', headers = headers)
print(r.json())
require 'rest-client'
require 'json'
headers = {
'X-RapidAPI-Key' => '{RAPIDAPI KEY}',
'X-RapidAPI-Host' => 'biztoc.p.rapidapi.com'
}
result = RestClient.get 'https://biztoc.p.rapidapi.com/news/latest',
params: {
}, headers: headers
p JSON.parse(result)
const headers = {
'X-RapidAPI-Key':'{RAPIDAPI KEY}',
'X-RapidAPI-Host':'biztoc.p.rapidapi.com'
};
fetch('https://biztoc.p.rapidapi.com/news/latest',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
Get the latest news stories in chronological order, across all pages. Akin to the /live view on biztoc.com.
HTTP Request
GET /news/latest
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
X-RapidAPI-Key | header | string | true | {RAPIDAPI KEY} |
X-RapidAPI-Host | header | string | true | 'biztoc.p.rapidapi.com' |
News/Latest/Page
Code samples
# You can also use wget
curl -X GET https://biztoc.p.rapidapi.com/news/latest/{page_id} \
-H 'X-RapidAPI-Key: {RAPIDAPI KEY}' \
-H 'X-RapidAPI-Host: biztoc.p.rapidapi.com'
import requests
headers = {
'X-RapidAPI-Key': '{RAPIDAPI KEY}',
'X-RapidAPI-Host': 'biztoc.p.rapidapi.com'
}
r = requests.get('https://biztoc.p.rapidapi.com/news/latest/{page_id}', headers = headers)
print(r.json())
require 'rest-client'
require 'json'
headers = {
'X-RapidAPI-Key' => '{RAPIDAPI KEY}',
'X-RapidAPI-Host' => 'biztoc.p.rapidapi.com'
}
result = RestClient.get 'https://biztoc.p.rapidapi.com/news/latest/{page_id}',
params: {
}, headers: headers
p JSON.parse(result)
const headers = {
'X-RapidAPI-Key':'{RAPIDAPI KEY}',
'X-RapidAPI-Host':'biztoc.p.rapidapi.com'
};
fetch('https://biztoc.p.rapidapi.com/news/latest/{page_id}',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
Get the latest news stories in chronological order, filtered by {page_id}
.
HTTP Request
GET /news/latest/{page_id}
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
X-RapidAPI-Key | header | string | true | {RAPIDAPI KEY} |
X-RapidAPI-Host | header | string | true | 'biztoc.p.rapidapi.com' |
page_id | path | string | true | none |
Search
Code samples
# You can also use wget
curl -X GET https://biztoc.p.rapidapi.com/search \
-H 'X-RapidAPI-Key: {RAPIDAPI KEY}' \
-H 'X-RapidAPI-Host: biztoc.p.rapidapi.com'
import requests
headers = {
'X-RapidAPI-Key': '{RAPIDAPI KEY}',
'X-RapidAPI-Host': 'biztoc.p.rapidapi.com'
}
r = requests.get('https://biztoc.p.rapidapi.com/search', headers = headers)
print(r.json())
require 'rest-client'
require 'json'
headers = {
'X-RapidAPI-Key' => '{RAPIDAPI KEY}',
'X-RapidAPI-Host' => 'biztoc.p.rapidapi.com'
}
result = RestClient.get 'https://biztoc.p.rapidapi.com/search',
params: {
}, headers: headers
p JSON.parse(result)
const headers = {
'X-RapidAPI-Key':'{RAPIDAPI KEY}',
'X-RapidAPI-Host':'biztoc.p.rapidapi.com'
};
fetch('https://biztoc.p.rapidapi.com/search',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
Search across the entire news index from the last 14 days. Note that no search operators are supported via the API so all provided terms are considered required.
HTTP Request
GET /search
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
X-RapidAPI-Key | header | string | true | {RAPIDAPI KEY} |
X-RapidAPI-Host | header | string | true | 'biztoc.p.rapidapi.com' |
q | query | string | true | none |
Terms
By using this API, you agree to the terms of service at https://biztoc.com/s/terms
Excerpt
- Personal Use Only: This API is for non-commercial and personal use only. You cannot use it for any business, commercial, or profit-making purposes.
- Information Provided "As-Is": The data and information provided by this API come with no guarantee of accuracy, completeness, or timeliness. We provide this information on an "as-is" basis, and we are not responsible for any errors or omissions.
- For Informational Purposes Only: The content obtained through this API is for informational purposes only. It should not be used as a substitute for professional advice or guidance.
- Not Financial Advice: The information provided by this API does not constitute financial advice. You should consult a professional financial advisor before making any investment or trading decisions based on the information from this API.
- Not for Trading: This API is not intended for use in any trading activities, including buying, selling, or trading securities or other financial instruments. We are not responsible for any losses or damages that may occur from using this API for trading purposes.