curl --request POST \
--url https://api.getanyapi.com/v1/run/nextdoor.search \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"city": "austin--tx",
"limit": 5,
"query": "plumber"
}
'import requests
url = "https://api.getanyapi.com/v1/run/nextdoor.search"
payload = {
"city": "austin--tx",
"limit": 5,
"query": "plumber"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({city: 'austin--tx', limit: 5, query: 'plumber'})
};
fetch('https://api.getanyapi.com/v1/run/nextdoor.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.getanyapi.com/v1/run/nextdoor.search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'city' => 'austin--tx',
'limit' => 5,
'query' => 'plumber'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.getanyapi.com/v1/run/nextdoor.search"
payload := strings.NewReader("{\n \"city\": \"austin--tx\",\n \"limit\": 5,\n \"query\": \"plumber\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.getanyapi.com/v1/run/nextdoor.search")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"city\": \"austin--tx\",\n \"limit\": 5,\n \"query\": \"plumber\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.getanyapi.com/v1/run/nextdoor.search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"city\": \"austin--tx\",\n \"limit\": 5,\n \"query\": \"plumber\"\n}"
response = http.request(request)
puts response.read_body{
"costUsd": 123,
"items": 123,
"output": {
"data": {
"items": [
{
"id": "<string>",
"name": "<string>",
"slug": "<string>",
"url": "<string>",
"address": "<string>",
"addressLine": "<string>",
"addressUnit": "<string>",
"categories": [
"<string>"
],
"city": "<string>",
"country": "<string>",
"description": "<string>",
"email": "<string>",
"faveCount": 123,
"hideAddress": true,
"latitude": 123,
"licenseId": "<string>",
"locationStatus": "<string>",
"longitude": 123,
"phone": "<string>",
"postalCode": "<string>",
"state": "<string>",
"website": "<string>"
}
]
},
"found": true
},
"provider": "<string>",
"replayed": true,
"hint": "<string>",
"jqError": "<string>",
"resultId": "<string>"
}{
"error": "<string>",
"code": "<string>",
"payment": {
"costUsd": 1,
"rail": "<string>",
"settlementState": "charged_undelivered"
},
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}{
"error": "<string>",
"code": "<string>",
"payment": {
"costUsd": 1,
"rail": "<string>",
"settlementState": "charged_undelivered"
},
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}{
"error": "<string>",
"code": "<string>",
"payment": {
"costUsd": 1,
"rail": "<string>",
"settlementState": "charged_undelivered"
},
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}{
"error": "<string>",
"code": "<string>",
"payment": {
"costUsd": 1,
"rail": "<string>",
"settlementState": "charged_undelivered"
},
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}{
"error": "<string>",
"code": "<string>",
"payment": {
"costUsd": 1,
"rail": "<string>",
"settlementState": "charged_undelivered"
},
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}{
"error": "<string>",
"code": "<string>",
"payment": {
"costUsd": 1,
"rail": "<string>",
"settlementState": "charged_undelivered"
},
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}{
"error": "<string>",
"code": "<string>",
"payment": {
"costUsd": 1,
"rail": "<string>",
"settlementState": "charged_undelivered"
},
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}{
"error": "<string>",
"code": "<string>",
"payment": {
"costUsd": 1,
"rail": "<string>",
"settlementState": "charged_undelivered"
},
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}{
"error": "<string>",
"code": "<string>",
"payment": {
"costUsd": 1,
"rail": "<string>",
"settlementState": "charged_undelivered"
},
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}Nextdoor Business Search
Find local businesses listed on Nextdoor by city and trade category, with phone, email, website, and street address.
Price: billed per result - $5.50 per 1,000 requests base + $2.86 per 1,000 results, capped at $62.70 per 1,000 requests.
Routing: one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail’s settlement policy.
Catalog: Nextdoor Business Search pricing and uptime - live USD price, lane routing, and measured 30-day uptime. Every Nextdoor endpoint.
curl --request POST \
--url https://api.getanyapi.com/v1/run/nextdoor.search \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"city": "austin--tx",
"limit": 5,
"query": "plumber"
}
'import requests
url = "https://api.getanyapi.com/v1/run/nextdoor.search"
payload = {
"city": "austin--tx",
"limit": 5,
"query": "plumber"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({city: 'austin--tx', limit: 5, query: 'plumber'})
};
fetch('https://api.getanyapi.com/v1/run/nextdoor.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.getanyapi.com/v1/run/nextdoor.search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'city' => 'austin--tx',
'limit' => 5,
'query' => 'plumber'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.getanyapi.com/v1/run/nextdoor.search"
payload := strings.NewReader("{\n \"city\": \"austin--tx\",\n \"limit\": 5,\n \"query\": \"plumber\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.getanyapi.com/v1/run/nextdoor.search")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"city\": \"austin--tx\",\n \"limit\": 5,\n \"query\": \"plumber\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.getanyapi.com/v1/run/nextdoor.search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"city\": \"austin--tx\",\n \"limit\": 5,\n \"query\": \"plumber\"\n}"
response = http.request(request)
puts response.read_body{
"costUsd": 123,
"items": 123,
"output": {
"data": {
"items": [
{
"id": "<string>",
"name": "<string>",
"slug": "<string>",
"url": "<string>",
"address": "<string>",
"addressLine": "<string>",
"addressUnit": "<string>",
"categories": [
"<string>"
],
"city": "<string>",
"country": "<string>",
"description": "<string>",
"email": "<string>",
"faveCount": 123,
"hideAddress": true,
"latitude": 123,
"licenseId": "<string>",
"locationStatus": "<string>",
"longitude": 123,
"phone": "<string>",
"postalCode": "<string>",
"state": "<string>",
"website": "<string>"
}
]
},
"found": true
},
"provider": "<string>",
"replayed": true,
"hint": "<string>",
"jqError": "<string>",
"resultId": "<string>"
}{
"error": "<string>",
"code": "<string>",
"payment": {
"costUsd": 1,
"rail": "<string>",
"settlementState": "charged_undelivered"
},
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}{
"error": "<string>",
"code": "<string>",
"payment": {
"costUsd": 1,
"rail": "<string>",
"settlementState": "charged_undelivered"
},
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}{
"error": "<string>",
"code": "<string>",
"payment": {
"costUsd": 1,
"rail": "<string>",
"settlementState": "charged_undelivered"
},
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}{
"error": "<string>",
"code": "<string>",
"payment": {
"costUsd": 1,
"rail": "<string>",
"settlementState": "charged_undelivered"
},
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}{
"error": "<string>",
"code": "<string>",
"payment": {
"costUsd": 1,
"rail": "<string>",
"settlementState": "charged_undelivered"
},
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}{
"error": "<string>",
"code": "<string>",
"payment": {
"costUsd": 1,
"rail": "<string>",
"settlementState": "charged_undelivered"
},
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}{
"error": "<string>",
"code": "<string>",
"payment": {
"costUsd": 1,
"rail": "<string>",
"settlementState": "charged_undelivered"
},
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}{
"error": "<string>",
"code": "<string>",
"payment": {
"costUsd": 1,
"rail": "<string>",
"settlementState": "charged_undelivered"
},
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}{
"error": "<string>",
"code": "<string>",
"payment": {
"costUsd": 1,
"rail": "<string>",
"settlementState": "charged_undelivered"
},
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}Authorizations
Your AnyAPI key as a Bearer token.
Headers
Optional wallet idempotency key, scoped to this customer for 24 hours. When the gateway honors the key, this synchronous in-process execution can continue after the caller disconnects, bounded by its execution deadline. A completed replayable result charges normally exactly once and can be replayed without another provider run or charge. A pending duplicate returns 409 idempotency_in_progress; reuse with different request semantics returns 409 idempotency_conflict.
1 - 255Query Parameters
Optional. Comma-separated keys (dotted paths like author.name descend into nested objects) to keep on each result item. Keys are matched relative to each result item after the data/items envelope is unwrapped, not against the top-level response envelope, so use jq to reshape the whole envelope. Shrinks the response without changing cost.
Optional. Cap the number of result rows returned; a _truncated note reports how many were withheld so you can page via the API's own limit. Does not change cost.
x >= 0Optional. Return only a structural outline (top-level keys, item counts, and per-field byte sizes) instead of the full data. Does not change cost.
Optional. A jq expression applied to the result envelope; its output replaces output (multiple outputs collect into an array). Reshape freely, e.g. jq=.data | {title, description, md: .markdown[:3500]}. Runs sandboxed with a 250ms / 2MB budget; on failure the full result is returned with a jqError. Does not change cost.
Optional. The most you are willing to pay for this one request, in US dollars (for example 0.05). Any route that would charge more than this is not used, so a request only ever runs on something you can afford. If nothing is available at or below your amount, the request is refused before it runs, nothing is charged, and the message tells you the cheapest price per request so you can raise it. Leave it out to accept the normal price.
Body
Nextdoor city slug, lowercase, with the city and its state or region joined by two hyphens, e.g. "austin--tx" or "york--england".
1Business category to look for in that city, e.g. "plumber", "bakery", "electrician".
1Maximum number of businesses to return (1-20, default 20). You are billed per result returned, so a lower limit costs less.
1 <= x <= 20Nextdoor market the city belongs to: "us" (nextdoor.com), "gb" (nextdoor.co.uk), or "ca" (ca.nextdoor.com). Defaults to "us".
us, gb, ca Optional; omit it and routing is unchanged, with the cheapest source serving. Prefer sources whose typical response time (median over the trailing 30 days, as published on this endpoint's lane health) is under this many milliseconds; among those, the cheapest serves. This can raise your price: when the cheapest source misses the target, a faster and dearer one serves, and you are quoted and charged its price. If no source is that fast the request is still served, by whichever source offers the best speed for its price - it is never refused for being slow. Sources we have not timed are tried last. This is a preference, not a guarantee: the median describes past requests and is not a ceiling on this one, and it excludes any wait this request itself asks for. On a paginated walk it applies to the first page only: later pages stay with the source that page chose, at the price it was quoted.
x >= 1Response
Normalized result.
USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.
Number of result rows returned. For per-result SKUs the per-item cost is charged against this count; for input-priced SKUs the charge is per submitted input, independent of this count.
Normalized output, or null when the replay payload was not retained.
Hide child attributes
Hide child attributes
Search result wrapper, or null when no business matched.
Hide child attributes
Hide child attributes
Nextdoor business records matching the city and category, one per business. Populated whenever the provider has data for the entity.
Hide child attributes
Hide child attributes
Stable Nextdoor business id, e.g. "business_2345302". Populated whenever the provider has data for the entity.
Business name as listed on Nextdoor. Populated whenever the provider has data for the entity.
Page slug for this business. Pass it to nextdoor.business to refetch this record on its own. Populated whenever the provider has data for the entity.
Canonical Nextdoor business page URL. Populated whenever the provider has data for the entity.
Full street address on one line; absent when the business hides or omits it.
Street line of the address; absent when the business hides or omits it.
Unit, suite, or floor; absent when the address has none.
Nextdoor trade categories the business is listed under, e.g. ["Plumber", "Air conditioning service"].
City or locality; absent when the business hides or omits its address.
ISO 3166-1 alpha-2 country code, e.g. "US".
Business description written by the owner; absent when the page has none.
Primary contact email; absent when the page lists none. Populated whenever the provider has data for the entity.
Number of neighbours who have faved (recommended) the business; 0 when none have.
True when the business chose to hide its street address, which is why the address fields can be absent.
Latitude of the business address; absent when Nextdoor publishes no coordinates.
Trade or contractor licence number the business published; absent when it published none.
Operating status Nextdoor reports, e.g. "OPEN" or "PERMANENTLY_CLOSED"; empty when unreported.
Longitude of the business address; absent when Nextdoor publishes no coordinates.
Primary phone number in E.164 form, e.g. "+15122639988"; absent when the page lists none. Populated whenever the provider has data for the entity.
Postal or ZIP code; absent when the business hides or omits its address.
State, province, or region code, e.g. "TX"; absent when the business hides or omits its address.
Business website URL; absent when the page lists none.
True when at least one business matched the city and category.
Always "AnyAPI".
True when this response replays the durable result of an earlier run without billing or upstream execution.
Optional one-line nudge, absent when there is nothing to say. large_result: suggests the fields/max_items/summary/jq controls for a big response. paging_unavailable: means this result came from a source that cannot return a nextCursor, so it may be INCOMPLETE and cannot be continued - re-run with requireCursor: true to be served only by a source that can page, which may cost more per request.
Present only when a jq expression failed; output then carries the full unshaped result and this explains why the reshape did not apply.
Opaque handle to the full unshaped result, cached ~15 min. Re-shape it for free (fields/max_items/summary/jq) via GET /v1/results/{id}, no re-billing. Absent when the result was too large to cache.