Two Search API (1.0)

Download OpenAPI specification:Download

Two's Search API is used to improve the user experience in the merchant's checkout.

Environments

Norway

https://no.search.two.inc/

UK

https://gb.search.two.inc/

Auto-complete service for business name

[GET] /search?limit=<page_size>&offset=<start_index>&q=<query_string>

Clients can implement pagination by calling with same query q and different offset value. The limit parameter does not have to be the same in each request while doing pagination.

Example:

GET https://no.search.two.inc/search?limit=50&offset=0&q=monoz

Request
query Parameters
limit
required
string

Number of matches to return.

offset
required
string

Starting index of results in an array of matches.

q
required
string

Autocomplete query string.

Responses
200

OK

get/search
Request samples
curl -i -X GET \
  'https://no.search.two.inc/search?limit=string&offset=string&q=string'
Response samples
application/json
{
  • "data": {
    },
  • "status": "string"
}
Copyright © 2021 Tillit AS. All rights reserved.