We provide a simple and powerful API that allows you to programmatically fetch search results from Blockabase. As a member of blockabase you can have multiple API keys which can manageable from your Manage API section of member area. You can create API keys for any of the available two tiers (Tier I, Tier II). All requests are POST requests and all responses come in a default JSON response object.
Getting Started
You can create new APIs on the manage API section. There will be two different API tiers.
Tier I will be an all inclusive tier which gives a response such as search results, along with number of upvotes, downvotes, likes, comments etc.
Tier II will only give results without detailed information on each result. Tier II will be typically less expensive than Tier I
<YOUR API KEY HERE> : Replace this with your orginal API key. You can generate your API key and secret from here <YOUR API SECRET KEY HERE> : Replace this with your orginal API secret key.
<ENGINE TYPE> : Specify the engine from which you have to fetch the results from. Possible values of engine type are
web
sports
etoro
tweet
asos
cnn
the guardian
france24
espn
youtube
vimeo
bloomberg
cnbc
indeed
instagram
zara
crypto compare
wikipedia
linkedin
glassdor
bbc
vogue
wired
techcrunch
netflix
webmd
mayo clinic
twitch
airbnb
booking
artsy
cricket
news now
poshmark
world economic forum
ethereum
stateofthedapps
okex
farmers world
nba top shot
bored ape yacht club
goblin town
blackpink
kim kardashian - instagram
kim kardashian - youtube
elon musk - twitter
elon musk - youtube
cz - twitter
sbf - twitter
<KEYWORD> : Replace this with the keyword you have to search for. Example: football, sports etc.
API References
Get Search Results
This particular API request is used to fetch search results from Blockabase for any specific keyword passed. Only upto 10 number of results can be returned on a single call. You may provide an optional parameter (perpagecount) to fetch results less than 10.
Subsequent results can be called by adding a result offset parameter (page) for the API call. Parameters : engine_type , keyword, page(optional), perpagecount(optional) Request : https://blockabase.com/index.php?page=multitierapicalls/getsearchresults Response- Tier I
{
"response": "success",
"message": "",
"result": [{
"Title": "Football - bbc sport",
"Description": " Football BBC Sport ",
"DisplayUrl": " https://www.bbc.com/sport/football ",
"TitleUrl": "https://www.bbc.com/sport/football",
"UpVoteCount": "1",
"DownVoteCount": "0",
"LikeCount": 0,
"CommentCount": 1,
"CommentList": [{
"Username": "reshma",
"Time": "01-08-2020",
"Comment": "As a footballer, I do enjoy heading the ball."
}]
}]
}
Response- Tier II
{
"response": "success",
"message": "",
"result": [{
"Title": "Football - bbc sport",
"Description": " Football BBC Sport ",
"DisplayUrl": " https://www.bbc.com/sport/football ",
"TitleUrl": "https://www.bbc.com/sport/football",
}]
}
Comment Via API
This particular API request is used to post comments for search results. All comments are posted in the name of API owner. Parameters : engine_type, url (URL for which comment to be posted), comment (your comment), type (Possible values title- Comment For Result, domain- Comment For Domain) Request : https://blockabase.com/index.php?page=multitierapicalls/commentviaapi Response
This particular API request is used to like search results. Parameters : engine_type, url (URL to be liked) Request : https://blockabase.com/index.php?page=multitierapicalls/likeviaapi Response
This particular API request is used to up vote search results. Parameters : engine_type, url (URL to be up voted) Request : https://blockabase.com/index.php?page=multitierapicalls/upvoteviaapi Response
This particular API request is used to down vote search results. Parameters : engine_type, url (URL to be down voted) Request : https://blockabase.com/index.php?page=multitierapicalls/downvoteviaapi Response