Search Yelp businesses
curl --request GET \
--url https://api.aisa.one/apis/v1/yelp/business-search \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aisa.one/apis/v1/yelp/business-search"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.aisa.one/apis/v1/yelp/business-search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/yelp/business-search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/yelp/business-search"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.aisa.one/apis/v1/yelp/business-search")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/yelp/business-search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"ads_results": [
{
"actions": [
{
"link": "<string>",
"title": "<string>"
}
],
"address": "<string>",
"alias": "<string>",
"block_position": "<string>",
"button": {
"link": "<string>",
"text": "<string>"
},
"categories": [
{
"link": "<string>",
"title": "<string>"
}
],
"features": [
"<string>"
],
"highlights": [
"<string>"
],
"link": "<string>",
"neighborhoods": [
"<string>"
],
"phone": "<string>",
"place_id": "<string>",
"price": "<string>",
"rating": 123,
"reviews": 123,
"reviews_link": "<string>",
"service_options": {
"outdoor_dining": true
},
"snippet": "<string>",
"tags": [
"<string>"
],
"thumbnail": "<string>",
"title": "<string>"
}
],
"faqs": [
{
"question": "<string>"
}
],
"filters": {
"features": [
{
"selected": true,
"text": "<string>",
"value": "<string>"
}
],
"price": [
{
"text": "<string>",
"value": "<string>"
}
]
},
"organic_results": [
{
"address": "<string>",
"alias": "<string>",
"categories": [
{
"link": "<string>",
"title": "<string>"
}
],
"city": "<string>",
"country": "<string>",
"gps_coordinates": {
"latitude": 123,
"longitude": 123
},
"link": "<string>",
"neighborhoods": [
"<string>"
],
"phone": "<string>",
"place_id": "<string>",
"position": 123,
"postal_code": "<string>",
"price": "<string>",
"rating": 123,
"reviews": 123,
"reviews_link": "<string>",
"snippet": "<string>",
"state": "<string>",
"thumbnail": "<string>",
"title": "<string>"
}
],
"pagination": {
"current": 123
},
"related_links": [
{
"title": "<string>"
}
],
"search_information": {
"location": {
"display": "<string>"
},
"page_title": "<string>",
"provider_domain": "<string>",
"query": "<string>",
"results_per_page": 123,
"start_result": 123,
"total_results": 123
},
"search_parameters": {
"attrs": "<string>",
"cflt": "<string>",
"find_desc": "<string>",
"find_loc": "<string>",
"sortby": "<string>",
"start": 123,
"yelp_domain": "<string>"
},
"aisa_pagination": {
"has_more": true,
"next_cursor": "<string>",
"next_param": "aisa_cursor"
}
}Yelp
Search Yelp businesses
Search Yelp businesses
GET
https://api.aisa.one
/
apis
/
v1
/
yelp
/
business-search
Search Yelp businesses
curl --request GET \
--url https://api.aisa.one/apis/v1/yelp/business-search \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aisa.one/apis/v1/yelp/business-search"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.aisa.one/apis/v1/yelp/business-search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/yelp/business-search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/yelp/business-search"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.aisa.one/apis/v1/yelp/business-search")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/yelp/business-search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"ads_results": [
{
"actions": [
{
"link": "<string>",
"title": "<string>"
}
],
"address": "<string>",
"alias": "<string>",
"block_position": "<string>",
"button": {
"link": "<string>",
"text": "<string>"
},
"categories": [
{
"link": "<string>",
"title": "<string>"
}
],
"features": [
"<string>"
],
"highlights": [
"<string>"
],
"link": "<string>",
"neighborhoods": [
"<string>"
],
"phone": "<string>",
"place_id": "<string>",
"price": "<string>",
"rating": 123,
"reviews": 123,
"reviews_link": "<string>",
"service_options": {
"outdoor_dining": true
},
"snippet": "<string>",
"tags": [
"<string>"
],
"thumbnail": "<string>",
"title": "<string>"
}
],
"faqs": [
{
"question": "<string>"
}
],
"filters": {
"features": [
{
"selected": true,
"text": "<string>",
"value": "<string>"
}
],
"price": [
{
"text": "<string>",
"value": "<string>"
}
]
},
"organic_results": [
{
"address": "<string>",
"alias": "<string>",
"categories": [
{
"link": "<string>",
"title": "<string>"
}
],
"city": "<string>",
"country": "<string>",
"gps_coordinates": {
"latitude": 123,
"longitude": 123
},
"link": "<string>",
"neighborhoods": [
"<string>"
],
"phone": "<string>",
"place_id": "<string>",
"position": 123,
"postal_code": "<string>",
"price": "<string>",
"rating": 123,
"reviews": 123,
"reviews_link": "<string>",
"snippet": "<string>",
"state": "<string>",
"thumbnail": "<string>",
"title": "<string>"
}
],
"pagination": {
"current": 123
},
"related_links": [
{
"title": "<string>"
}
],
"search_information": {
"location": {
"display": "<string>"
},
"page_title": "<string>",
"provider_domain": "<string>",
"query": "<string>",
"results_per_page": 123,
"start_result": 123,
"total_results": 123
},
"search_parameters": {
"attrs": "<string>",
"cflt": "<string>",
"find_desc": "<string>",
"find_loc": "<string>",
"sortby": "<string>",
"start": 123,
"yelp_domain": "<string>"
},
"aisa_pagination": {
"has_more": true,
"next_cursor": "<string>",
"next_param": "aisa_cursor"
}
}
Request example pending verification. The request example for this endpoint has not yet been verified in production. Static examples describe the request format; replace sample values with your own. Check the estimated price with a free quote request (X-AISA-Cost-Mode: quote) before running it.
Request contract
- Method and path: GET /apis/v1/yelp/business-search
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/yelp/business-search - attrs: query; optional
- cflt: query; optional
- find_desc: query; optional
- find_loc: query; required
- l: query; optional
- sortby: query; optional
- start: query; optional
- timeout: query; optional
- yelp_domain: query; optional
- aisa_cursor: query; optional
{
"operationId": "yelp.business-search",
"method": "GET",
"path": "/apis/v1/yelp/business-search",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [
{
"in": "query",
"name": "attrs",
"required": false,
"schema": {
"type": "string",
"x-aisa-delimiter": ",",
"x-aisa-maxItems": 32,
"x-aisa-minItems": 1
}
},
{
"in": "query",
"name": "cflt",
"required": false,
"schema": {
"maxLength": 128,
"minLength": 1,
"pattern": "^[A-Za-z0-9_-]+$",
"type": "string"
}
},
{
"in": "query",
"name": "find_desc",
"required": false,
"schema": {
"maxLength": 512,
"minLength": 1,
"type": "string"
}
},
{
"in": "query",
"name": "find_loc",
"required": true,
"schema": {
"maxLength": 512,
"minLength": 1,
"type": "string"
}
},
{
"in": "query",
"name": "l",
"required": false,
"schema": {
"maxLength": 512,
"minLength": 1,
"type": "string"
}
},
{
"in": "query",
"name": "sortby",
"required": false,
"schema": {
"enum": [
"rating",
"recommended",
"review_count"
],
"type": "string"
}
},
{
"in": "query",
"name": "start",
"required": false,
"schema": {
"maximum": 10000,
"minimum": 0,
"type": "integer"
}
},
{
"in": "query",
"name": "timeout",
"required": false,
"schema": {
"exclusiveMinimum": 0,
"maximum": 90,
"type": "number"
}
},
{
"in": "query",
"name": "yelp_domain",
"required": false,
"schema": {
"maxLength": 253,
"minLength": 3,
"type": "string"
}
},
{
"description": "Next page: the aisa_pagination.next_cursor of the previous response.",
"in": "query",
"name": "aisa_cursor",
"required": false,
"schema": {
"maxLength": 4096,
"minLength": 1,
"type": "string"
}
}
],
"security": [
{
"bearerAuth": []
}
],
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
Cost and request rules
Published reference price: $0.00015 USD per successful request. Your account price may differ; use a request quote where supported.Pagination
- Pass
aisa_pagination.next_cursorasaisa_cursor(query parameter) to fetch the next page; stop whenaisa_pagination.has_moreis false. - The same values are returned in the
X-AISA-Has-MoreandX-AISA-Next-Cursorresponse headers. - The cursor is an opaque value; pass it back unchanged.
- Results may repeat across pages; de-duplicate by a stable id.
Authorizations
Query Parameters
Response
Normalized successful response