Menu

Add Token

Member Login
@blockamail.comCheck Availability
Your Name:
Password
Confirm Password:
Your Email:
Country
Your Email:
Enter the letters seen in the picture for Verification:
Register

Apart from all the regular features, our members enjoy some additional cool feature like

• Post comments for any result or its source site.

• Star/Unstar your favorite results.

• Organize your favorites with custom categories.

Please login/register to your member area and start enjoying these additional benefits.

API Documentation

Overview

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
$apikey="<YOUR API KEY HERE>";
$apisecret="<YOUR API SECRET KEY HERE>";
$engine_type="<ENGINE TYPE>";
$keyword="<KEYWORD>";
$service_url = "https://blockabase.com/index.php?page=multitierapicalls/getsearchresults";
$sign=hash_hmac('sha512',$service_url ,$apisecret);
$curl = curl_init($service_url);
$curl_post_data = array(
"apikey" => $apikey,
"engine_type" => $engine_type,
"keyword" => $keyword
);
curl_setopt($curl, CURLOPT_POST, success);
curl_setopt($curl, CURLOPT_HTTPHEADER, array('apisign:'.$sign));
curl_setopt($curl, CURLOPT_POSTFIELDS, $curl_post_data);
$curl_response = curl_exec($curl);
$obj = json_decode($curl_response);

<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
    {
        "response": "success",
        "message": "COMMENT ADDED SUCCESSFULLY.",
        "result": null
    }
    

  • Like Via API
  • 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
    {
        "response": "success",
        "message": "URL LIKED SUCCESSFULLY.",
        "result": null
    }
    

  • Up Vote Via API
  • 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
    {
        "response": "success",
        "message": "URL UPVOTED SUCCESSFULLY.",
        "result": null
    }
    

  • Down Vote Via API
  • 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
    {
        "response": "success",
        "message": "URL DOWNVOTED SUCCESSFULLY.",
        "result": null
    }
    
Copyright © 2024 Blockabase®. All Rights Reserved.
Confirm your action: Are you sure to continue ?
Error
There is some error found. Please try again!