UnifAPI Local API
Live Local Finder search — the expanded local-pack listing. Responses include ranked local places with address, rating, phone, and booking links.
Live Local Finder search — the expanded local-pack listing. Responses include ranked local places with address, rating, phone, and booking links.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/unifapi-com:unifapi-com-local-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Unifapi Com Local API
version: 0.0.1
contact:
name: UnifAPI
url: https://unifapi.com
email: support@unifapi.com
license:
name: Proprietary
url: https://unifapi.com/legal/terms-of-service
x-api-version: '2026-07-01'
x-versioning-policy: https://unifapi.com/versioning.md
description: 'Operations tagged local across 3 of this provider''s published API definitions: api-unifapi-com-openapi.yml, mcp-unifapi-com-openapi.yml, unifapi-com-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.unifapi.com
description: Production
security:
- bearerAuth: []
tags:
- name: local
description: Live Local Finder search — the expanded local-pack listing. Responses include ranked local places with address, rating, phone, and booking links.
paths:
/local/search:
post:
operationId: postLocalSearch
summary: Search Local Finder
description: Run one live Local Finder search — the expanded local-pack listing — and receive ranked local places for a query, including title, address, rating, phone, and booking links.
tags:
- local
x-unifapi-billing:
mode: record_metered
credits_per_record: 1
minimum_credits: 10
security:
- bearerAuth: []
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/LocalFinderRequest'
responses:
'200':
description: OK
headers:
RateLimit-Policy:
description: Quota policy in IETF structured-field form, e.g. `"api-key";q=60;w=60` (`q` = requests per window, `w` = window in seconds).
schema:
type: string
RateLimit:
description: Current quota state in IETF structured-field form, e.g. `"api-key";r=42;t=60` (`r` = requests remaining, `t` = seconds until the window resets).
schema:
type: string
RateLimit-Limit:
description: Requests allowed per window. Also sent as `X-RateLimit-Limit`.
schema:
type: integer
RateLimit-Remaining:
description: Requests still available in the current window. Also sent as `X-RateLimit-Remaining`. Responses that never resolved an API key report the full policy budget.
schema:
type: integer
RateLimit-Reset:
description: Seconds until the current window resets. Also sent as `X-RateLimit-Reset`.
schema:
type: integer
content:
application/json:
schema:
type: object
properties:
request_id:
type: string
description: UnifAPI request id for support and ledger correlation.
data:
$ref: '#/components/schemas/LocalFinderResponse'
billing:
$ref: '#/components/schemas/Billing'
required:
- request_id
- data
- billing
'400':
description: Validation or invalid-id error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'401':
description: Missing, invalid, disabled, revoked, or expired UnifAPI API key
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'402':
description: Insufficient workspace credits
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'404':
description: Resource not found
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'429':
description: Rate limited
headers:
RateLimit-Policy:
description: Quota policy in IETF structured-field form, e.g. `"api-key";q=60;w=60` (`q` = requests per window, `w` = window in seconds).
schema:
type: string
RateLimit:
description: Current quota state in IETF structured-field form, e.g. `"api-key";r=42;t=60` (`r` = requests remaining, `t` = seconds until the window resets).
schema:
type: string
RateLimit-Limit:
description: Requests allowed per window. Also sent as `X-RateLimit-Limit`.
schema:
type: integer
RateLimit-Remaining:
description: Requests still available in the current window. Also sent as `X-RateLimit-Remaining`. Responses that never resolved an API key report the full policy budget.
schema:
type: integer
RateLimit-Reset:
description: Seconds until the current window resets. Also sent as `X-RateLimit-Reset`.
schema:
type: integer
Retry-After:
description: Seconds to wait before retrying. Present when UnifAPI itself enforced the quota.
schema:
type: integer
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'500':
description: Internal error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'502':
description: Source error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'503':
description: Source unavailable
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
parameters:
- $ref: '#/components/parameters/UnifapiVersion'
- $ref: '#/components/parameters/IdempotencyKey'
servers:
- url: https://api.unifapi.com
description: Production
components:
schemas:
ErrorBilling:
type: object
properties:
credits_required:
type: integer
credits_charged:
type: integer
minimum: 0
records_charged:
type: integer
minimum: 0
balance_remaining:
type: integer
truncated_due_to_balance:
type: boolean
required:
- balance_remaining
description: Present when the error either exposes recovery metadata or charged usage.
LocalFinderRequest:
type: object
properties:
query:
type: string
minLength: 1
maxLength: 700
description: Search query to inspect.
location:
$ref: '#/components/schemas/SerpListLocation'
language:
type: string
minLength: 2
maxLength: 80
description: Search language as an ISO code or full language name. Defaults to en.
limit:
type: integer
minimum: 1
maximum: 700
description: Number of results to return, matching the limit parameter used across other UnifAPI endpoints. Maps to result depth.
view:
allOf:
- $ref: '#/components/schemas/SerpListView'
- description: Controls response size. summary keeps lean rank evidence, standard adds descriptive fields, full includes raw extras and nested items. Defaults to standard.
device:
$ref: '#/components/schemas/SerpListDevice'
os:
$ref: '#/components/schemas/SerpListOs'
min_rating:
type: number
minimum: 0
maximum: 5
description: Filter results to places with at least this average rating.
time_filter:
type: string
enum:
- any
- open_now
description: Filter results by open hours. open_now keeps only places open at request time.
required:
- query
SerpListDevice:
type: string
enum:
- desktop
- mobile
description: SERP device type. Defaults to desktop.
Billing:
type: object
properties:
credits_charged:
type: integer
minimum: 0
records_charged:
type: integer
minimum: 0
balance_remaining:
type: integer
minimum: 0
truncated_due_to_balance:
type: boolean
required:
- credits_charged
- records_charged
- balance_remaining
- truncated_due_to_balance
SerpListOs:
type: string
enum:
- windows
- macos
- android
- ios
description: Optional device operating system.
SerpListLocation:
anyOf:
- type: string
minLength: 2
maxLength: 120
- type: integer
exclusiveMinimum: 0
description: Search location as a country code/name, DataForSEO location code, full location name, or latitude,longitude,radius coordinate string. Defaults to us.
LocalFinderResponse:
type: object
properties:
query:
type: string
location:
type: string
language:
type: string
view:
$ref: '#/components/schemas/SerpListView'
observed_at:
type: string
search_url:
type: string
item_types:
type: array
items:
type: string
description: SERP element types present in the result, in source order.
total_results:
type: integer
result_count:
type: integer
description: Number of result elements returned.
results:
type: array
items:
$ref: '#/components/schemas/SerpListElement'
description: Local Finder places — the expanded local-pack listing. Each place is billable; ads are free context. Phone, rating, and booking details are surfaced when present.
required:
- query
- location
- language
- view
- item_types
- result_count
- results
SerpListView:
type: string
enum:
- summary
- standard
- full
Error:
type: object
properties:
type:
type: string
enum:
- validation_error
- invalid_id
- insufficient_credits
- unauthorized
- not_found
- rate_limited
- internal_error
- response_shape_error
- upstream_error
- upstream_unavailable
description: Closed vocabulary - see docs/adr/0003-error-model.md.
message:
type: string
request_id:
type: string
description: UnifAPI request id, e.g. `unif_<id>`. Source ids are not exposed.
issues:
type: array
items: {}
description: Present only when type=validation_error.
billing:
$ref: '#/components/schemas/ErrorBilling'
required:
- type
- message
SerpListElement:
type: object
properties:
rank:
type: integer
description: Absolute rank of the element in the result list.
group_rank:
type: integer
type:
type: string
description: SERP element type, such as news_search, maps_search, or local_pack.
title:
type: string
url:
type: string
domain:
type: string
snippet:
type: string
image_url:
type: string
phone:
type: string
address:
type: string
rating:
description: Rating block when present, e.g. value, votes count, and rating type.
latitude:
type: number
longitude:
type: number
category:
type: string
is_paid:
type: boolean
description: True when the element is an ad.
is_billable:
type: boolean
description: True for result elements that count toward billing. Ads are free context.
nested_items:
type: array
items: {}
extras:
type: object
additionalProperties: {}
description: Additional element fields preserved in the full view.
required:
- type
- is_billable
ErrorResponse:
type: object
properties:
error:
$ref: '#/components/schemas/Error'
required:
- error
description: Standard gateway error envelope (ADR 0003 and ADR 0008).
parameters:
UnifapiVersion:
name: Unifapi-Version
in: header
required: false
description: 'Pin the API version an integration was built against (date-based, e.g. `2026-07-01`). Omit to use the current version. Public URL paths stay stable and unversioned; breaking changes ship under a new dated version and are announced with `Deprecation` and `Sunset` response headers. The served version is echoed in every response''s `Unifapi-Version` header. Policy: https://unifapi.com/versioning.md'
schema:
type: string
default: '2026-07-01'
enum:
- '2026-07-01'
IdempotencyKey:
name: Idempotency-Key
in: header
required: false
description: 'Client-supplied unique key that makes a write request safe to retry. If a request with the same key was already processed, the original response is replayed (with `Idempotency-Replayed: true`) instead of executing — and billing — again. Send a fresh UUID per logical operation. Best-effort with a 24h window.'
schema:
type: string
maxLength: 255
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: UnifAPI API key. Provider credentials are managed by UnifAPI.
externalDocs:
url: https://docs.unifapi.com
description: UnifAPI developer documentation
x-refined-from:
- api-unifapi-com-openapi.yml
- mcp-unifapi-com-openapi.yml
- unifapi-com-openapi.yml
x-payment-info:
protocol: MPP
scheme: Payment
status: 402
errorType: insufficient_credits
currency: USD
unit: credit
unitPrice: '0.001'
network: stripe
topUpUrl: https://api.unifapi.com/dashboard/billing
pricingUrl: https://unifapi.com/pricing
docsUrl: https://unifapi.com/pricing.md
description: 'Premium public-data operations are billed per record in prepaid credits. On HTTP 402 the response carries a WWW-Authenticate: Payment challenge plus a JSON body with the credits required and the current balance. Top up credits at the topUpUrl, then retry with the same request (send an Idempotency-Key header to make the retry safe).'
x-rate-limit:
policy: api-key
limit: 60
windowSeconds: 60
scope: api_key
errorType: rate_limited
status: 429
headers:
- RateLimit-Policy
- RateLimit
- RateLimit-Limit
- RateLimit-Remaining
- RateLimit-Reset
- X-RateLimit-Limit
- X-RateLimit-Remaining
- X-RateLimit-Reset
- Retry-After
docsUrl: https://unifapi.com/auth.md
description: 'Every response carries the quota that applies to it: 60 requests per 60s per API key, as the IETF `RateLimit`/`RateLimit-Policy` structured fields plus the `RateLimit-Limit`/`-Remaining`/`-Reset` triple and `X-RateLimit-*` aliases. Exceeding the quota returns HTTP 429 with `error.type = rate_limited` and a `Retry-After` header in seconds. Responses that never resolved an API key report the default policy with a full budget.'