Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API 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. See our Privacy Policy and
Terms.
openapi: 3.2.0
info:
title: Direct Index Search API
version: '0.2'
description: 'Agent-Direct Scores: whether AI agents can find, read and act on a business''s own website. Free, open data, no authentication for reads. An API key (optional, agency plan) only raises the scan limit.'
contact:
url: https://directindex.org/
servers:
- url: https://directindex.org
security:
- {}
- apiKey: []
tags:
- name: Search
paths:
/api/search:
get:
summary: Businesses in the indexes by name or domain, filtered by city, kind, grade…
parameters:
- name: q
in: query
schema:
type: string
example: pizza
- name: city
in: query
schema:
type: string
example: berlin
- name: kind
in: query
schema:
type: string
enum:
- restaurants
- cafes
- salons
- clinics
- tours
- name: grade
in: query
schema:
type: string
enum:
- A
- B
- C
- D
- F
- name: builder
in: query
schema:
type: string
example: wix
- name: vendor
in: query
schema:
type: string
example: thefork
- name: finding
in: query
schema:
type: string
example: menu_pdf
- name: page
in: query
schema:
type: integer
minimum: 1
default: 1
responses:
'200':
description: Search results
tags:
- Search
operationId: getApiSearch
x-operation-id-source: derived
components:
securitySchemes:
apiKey:
type: http
scheme: bearer
bearerFormat: di_live_ followed by 32 hex characters
description: 'Optional. Raises the new-scan limit to the key''s own (300 an hour on the agency plan) and attributes the call to the key; reads need no key and stay unlimited. Keys come with the agency plan: https://directindex.org/agency. Details: https://directindex.org/auth.md'