Search Company API

Version 1.0

Overview

API URL

http://api.searchcompany.us/1.0/

API Version

1.0

Request Method

REST (GET)

Response Format

JSON

Search

Request

/search/{query}
/search/{query}/{page}
Field Type Description
query String

The search query

page Numeric

The page number (optional)

Response

Field Type Description
total Numeric

The total search results

page Numeric

The page number of results

company Object

Search results

  id Numeric

The company id

  name String

The company name

Example usage

Request
http://api.searchcompany.us/1.0/search/apple
Response
{
    "total": "7790",
    "page": "1",
    "company": [
        {
            "id": "61364",
            "name": "Apple Rentals Property Mgmt Co"
        },
        {
            "id": "246020",
            "name": "T J's Pawn Shop"
        },
        {
            "id": "282433",
            "name": "Apple Valley Townhouses"
        },
        ...
    ]
}

Company

Request

/company/{id}
Field Type Description
id Numeric

The company id

Response

Field Type Description
id Numeric

The company id

name String

The company name

state String

The company state

city String

The company city

zip String

The company zip code

url String

The company url address

Example usage

Request
http://api.searchcompany.us/1.0/company/282433
Response
{
    "id": "282433",
    "name": "Apple Valley Townhouses",
    "state": "Arkansas",
    "city": "Sherwood",
    "zip": "72120-3854",
    "url": "http://searchcompany.us/company/282433"
}
© Search Company