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. 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.
openapi: 3.2.0
info:
title: SHAART Agency public Search API
version: 1.0.0
description: 'Read-only public API. JSON endpoints under /api/v1 expose pricing, capabilities, contact options and blog posts. Any public page can also be fetched as Markdown with Accept: text/markdown or a .md suffix. No authentication. Errors use RFC 9457 application/problem+json with a stable `code`. Versioning: the major version is in the path (/api/v1); breaking changes ship as /api/v2 and v1 stays available for at least 6 months after that. Deprecation: before v1 is retired its responses carry Deprecation (RFC 9745) and Sunset (RFC 8594) headers at least 6 months ahead; policy at /developers#deprecation. An MCP server with the same data is at /api/mcp.'
contact:
name: Anthony Hunt
email: info@anthonyhunts.com
url: https://www.anthonyhunts.com/developers
servers:
- url: https://www.anthonyhunts.com
tags:
- name: Search
paths:
/ask:
post:
operationId: askSite
summary: 'NLWeb: natural-language search over the site'
description: 'Returns the most relevant pages (services, pricing, posts) with schema.org objects. Set streaming: true for Server-Sent Events (start, result, complete).'
tags:
- Search
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/AskRequest'
responses:
'200':
description: Ranked results
content:
application/json:
schema:
$ref: '#/components/schemas/AskResponse'
'400':
description: Missing query
content:
application/json:
schema:
type: object
components:
schemas:
AskResponse:
type: object
required:
- query_id
- _meta
- results
properties:
query_id:
type: string
query:
type: string
_meta:
type: object
properties:
response_type:
type: string
version:
type: string
results:
type: array
items:
type: object
properties:
url:
type: string
format: uri
name:
type: string
site:
type: string
score:
type: number
description:
type: string
schema_object:
type: object
AskRequest:
type: object
required:
- query
properties:
query:
type: string
description: Question in natural language, Spanish or English
streaming:
type: boolean
default: false
limit:
type: integer
minimum: 1
maximum: 50
default: 10
query_id:
type: string
externalDocs:
description: Developer guide
url: https://www.anthonyhunts.com/developers