Contact@DataRake.com +1 (301)744-8235

search API

Our search API is available for developers who want to integrate our search result into their application.

Resource

GET search dataset

Resource URL

http://datarake.com/api/srch.aspx

Parameters

NameDescription
d
(required)
provided API key
k
(required)
provided dataset indentifier
r
(optional)
Result format. Values are json and xml. If not suplied, search result is provided in json format.
p
(optional)
Data page. Search result is provided in pages of 50 records.
Simple search
In this search mode, the result will include all dataset record matching the search term at any property.
q
(required)
A UTF-8, URL-encoded search term of 500 characters maximum. When this parameter is provided the system will switch to simple search.
Advanced search
This search mode provide the ability to search dataset by specifying specific dataset property.
o
(optional)
Logical operator. Values are and, or. If not supplied the default operator is and.
[properties]
(required)
Each dataset a list of properties key, use provided keys to specify search term.
example: _c48cefee734404f3e80914e27988d5eba, _cc2816be3e03849e6b6e7a5f64fda1cef

Please note that each dataset structure is different, please refer to dataset property key list to get the exact value for your implementation.

View Dataset list for each API reference document

Example Request

This example searches the UK Business Listing dataset.

GET
http://datarake.com/api?k=f2cd54d0-f19f-4a4d-a183-18fe6e8e00f8&d=449d01df-e2ff-499b-9254-bf1efe87b0fc&q=trafalgar+square

Search result

json

{ 
              "datarecords": [ 
                { 
                    "CompanyName": "WORLD'S BUSINESS LTD", 
                    "CareOf":"", 
                    "RegAddress#POBox":"", 
                    "AddressLine1": "LONDON'S TRAFALGAR SQUARE", 
                    "AddressLine2": "1 NORTHUMBERLAND AVENUE, TRAFALGAR SQUARE", 
                    "PostTown": "LONDON", 
                    "County":"", 
                    "Country":"", 
                    "PostCode": "WC2N 5BW", 
                    "CompanyCategory": "Private Limited Company", 
                    "CompanyStatus": "Active", 
                    "CountryOfOrigin": "United Kingdom", 
                    "IncorporationDate": "17/10/2012", 
                    "SicText_1": "46190 - Agents involved in the sale of a variety of goods", 
                    "SicText_2:"", 
                    "SicText_3:"", 
                    "SicText_4:"" 
               }, 
               { 
                    "CompanyName": "WRISTBANDS DCD LTD", 
                    "CareOf":"", 
                    "RegAddress#POBox":"", 
                    "AddressLine1": "1 NORTHUMBERLAND AVENUE", 
                    "AddressLine2": "TRAFALGAR SQUARE", 
                    "PostTown": "LONDON", 
                    "County":"", 
                    "Country": "UNITED KINGDOM", 
                    "PostCode": "WC2N 5BW", 
                    "CompanyCategory": "Private Limited Company", 
                    "CompanyStatus": "Active", 
                    "CountryOfOrigin": "United Kingdom" 
                    "IncorporationDate": "22/07/2010", 
                    "SicText_1": "46900 - Non-specialised wholesale trade", 
                    "SicText_2":"",
                    "SicText_3":"",
                    "SicText_4":"" 
               } 
                
              ] 
            }

Scroll to Top