Work with this as data
Every API here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for apis
7 MCP tools reach this
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.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/publicwww-com:publicwww-com-account-api"
All apis
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.
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.
A second provider on the same verified email joins the account you already have.
OpenAPI Specification
openapi: 3.2.0
info:
title: PublicWWW Search Account API
version: '1.3'
summary: Search the source code (HTML, JavaScript, CSS) of web pages.
description: 'The same search the website runs, returned as data, and the clusters of your account: save a set of sites, combine sets, extract values from their page source. Authenticate with `Authorization: Bearer `; tokens are issued at https://publicwww.com/profile/api. Searches and clusters need a paid plan; /v1/account works on any account. Applications can obtain the same token through OAuth 2.1 (authorization code with PKCE, client metadata documents instead of client registration): https://publicwww.com/docs/api/authentication/#oauth
At most 10 requests per minute per account, shared with the MCP server; a request over the limit gets 429 with Retry-After at once. X-Requests-Limit and X-Requests-Remaining report it; /v1/account does not count. Searches count against the plan''s daily quota, which resets at UTC midnight. X-RateLimit-* report that quota, not the rate: the name is historic.
AI assistants can use the same search through the MCP server at /mcp: https://publicwww.com/docs/mcp/ Every response is UTF-8 (charset=utf-8 in Content-Type).'
servers:
- url: https://api.publicwww.com
security:
- bearerAuth: []
tags:
- name: Account
description: Plan, quota and limits.
paths:
/v1/account:
get:
operationId: getAccount
tags:
- Account
summary: Plan, quota used today and limits
description: Spends nothing, does not count against the request rate and works on any account.
parameters:
- name: format
in: query
required: false
description: json (default) or xml.
schema:
type: string
enum:
- json
- xml
default: json
responses:
'200':
description: The account.
headers:
X-RateLimit-Limit:
$ref: '#/components/headers/X-RateLimit-Limit'
X-RateLimit-Remaining:
$ref: '#/components/headers/X-RateLimit-Remaining'
X-RateLimit-Reset:
$ref: '#/components/headers/X-RateLimit-Reset'
X-Snippets-Limit:
$ref: '#/components/headers/X-Snippets-Limit'
X-Snippets-Remaining:
$ref: '#/components/headers/X-Snippets-Remaining'
content:
application/json:
schema:
$ref: '#/components/schemas/Account'
example:
now: 1787922000
plan: enterprise
plan_until: 1819461840
full_access: true
quota:
searches:
limit: 300
used: 12
remaining: 288
resets_at: 1787961600
snippets:
limit: 100
used: 3
remaining: 97
resets_at: 1787961600
limits:
disclosed_positions: 4294967295
disclosed_positions_snippets: 4294967295
max_per_page: 1000000
max_per_page_snippets: 10000
clusters:
count: 7
max: 100
max_size: 1000000
extract_points_per_day: 1000000
extract_points_left: 998166
resets_at: 1787961600
application/xml:
schema:
type: string
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
post:
operationId: postAccount
tags:
- Account
summary: Plan, quota used today and limits (POST, the same)
description: Spends nothing, does not count against the request rate and works on any account.
parameters:
- name: format
in: query
required: false
description: json (default) or xml.
schema:
type: string
enum:
- json
- xml
default: json
responses:
'200':
description: The account.
headers:
X-RateLimit-Limit:
$ref: '#/components/headers/X-RateLimit-Limit'
X-RateLimit-Remaining:
$ref: '#/components/headers/X-RateLimit-Remaining'
X-RateLimit-Reset:
$ref: '#/components/headers/X-RateLimit-Reset'
X-Snippets-Limit:
$ref: '#/components/headers/X-Snippets-Limit'
X-Snippets-Remaining:
$ref: '#/components/headers/X-Snippets-Remaining'
content:
application/json:
schema:
$ref: '#/components/schemas/Account'
example:
now: 1787922000
plan: enterprise
plan_until: 1819461840
full_access: true
quota:
searches:
limit: 300
used: 12
remaining: 288
resets_at: 1787961600
snippets:
limit: 100
used: 3
remaining: 97
resets_at: 1787961600
limits:
disclosed_positions: 4294967295
disclosed_positions_snippets: 4294967295
max_per_page: 1000000
max_per_page_snippets: 10000
clusters:
count: 7
max: 100
max_size: 1000000
extract_points_per_day: 1000000
extract_points_left: 998166
resets_at: 1787961600
application/xml:
schema:
type: string
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
components:
headers:
X-RateLimit-Reset:
description: Unix time of the next quota reset (UTC midnight).
schema:
type: integer
X-Snippets-Remaining:
description: Searches with snippets left today.
schema:
type: integer
X-Snippets-Limit:
description: Searches with snippets per day on the plan.
schema:
type: integer
X-RateLimit-Limit:
description: 'Searches per day on the plan. The daily quota, not the rate: the name is historic.'
schema:
type: integer
X-RateLimit-Remaining:
description: Searches left today.
schema:
type: integer
responses:
BadRequest:
description: 'The request cannot be served as asked: missing_query, invalid_parameter, unknown_format, unknown_column, format_not_available, per_page_too_large, page_too_deep, invalid_json, missing_source, ambiguous_source, missing_domains, domains_not_found, invalid_operation, invalid_clusters, missing_name, missing_regex, invalid_regex, too_many_regex, unknown_preset, unknown_field.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
Unauthorized:
description: 'missing_key - no Authorization: Bearer header; invalid_key - the token does not name an account.'
headers:
WWW-Authenticate:
description: Bearer realm="publicwww"
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
schemas:
Account:
type: object
required:
- now
- plan
- plan_until
- full_access
- quota
- limits
properties:
now:
type: integer
description: Unix time on the server now; resets_at minus now is how long until the daily counters start again.
plan:
type: string
plan_until:
type: integer
description: Unix time the plan is paid until; 0 without a plan.
full_access:
type: boolean
description: Whether the API is available to this account.
quota:
type: object
required:
- searches
- snippets
properties:
searches:
$ref: '#/components/schemas/QuotaCounter'
snippets:
$ref: '#/components/schemas/QuotaCounter'
limits:
type: object
required:
- disclosed_positions
- disclosed_positions_snippets
- max_per_page
- max_per_page_snippets
properties:
disclosed_positions:
type: integer
description: How far down the popularity ranking results are shown.
disclosed_positions_snippets:
type: integer
max_per_page:
type: integer
description: 'Rows one query may return: the largest per_page, and the limit of page * per_page.'
max_per_page_snippets:
type: integer
clusters:
type: object
description: Clusters on the account and the extraction allowance.
properties:
count:
type: integer
max:
type: integer
max_size:
type: integer
extract_points_per_day:
type: integer
extract_points_left:
type: integer
resets_at:
type: integer
description: Unix time of the next reset (UTC midnight), the same as in the quota block.
Error:
type: object
required:
- error
properties:
error:
type: object
required:
- code
- message
description: Branch on code; message is for people and may be reworded.
properties:
code:
type: string
enum:
- missing_query
- unknown_format
- unknown_column
- format_not_available
- invalid_parameter
- per_page_too_large
- page_too_deep
- invalid_json
- missing_key
- invalid_key
- plan_required
- unknown_endpoint
- method_not_allowed
- too_many_requests
- quota_exceeded
- snippet_quota_exceeded
- cluster_not_found
- cluster_limit
- missing_source
- ambiguous_source
- missing_domains
- domains_not_found
- invalid_operation
- invalid_clusters
- missing_name
- missing_regex
- invalid_regex
- too_many_regex
- unknown_preset
- unknown_field
- extract_quota_exceeded
- unavailable
message:
type: string
parameter:
type: string
description: The parameter that was wrong.
max:
type: integer
max_rows:
type: integer
max_page:
type: integer
limit:
type: integer
used:
type: integer
retry_after:
type: integer
description: Seconds to wait, also in the Retry-After header.
plan:
type: string
endpoints:
type: array
items:
type: string
parameters:
type: array
items:
type: string
description: 'missing_source: the parameters to choose from.'
resets_at:
type: integer
description: 'extract_quota_exceeded: unix time when the points return.'
cluster:
type: integer
description: 'cluster_not_found: the id asked for.'
clusters:
type: integer
description: 'cluster_limit: clusters on the account.'
presets:
type: array
items:
type: string
description: 'unknown_preset, missing_regex: the preset names.'
fields:
type: array
items:
type: string
description: 'unknown_field, missing_regex: the field names.'
regex:
type: string
description: 'invalid_regex: the expression as sent.'
submitted:
type: integer
description: 'domains_not_found: how many names were sent.'
received:
type: integer
description: 'domains_not_found: non-empty lines sent.'
dropped:
type: object
description: 'domains_not_found: what was left out, by reason.'
properties:
not_a_domain:
type: integer
description: Lines with no domain in them.
duplicate:
type: integer
description: Names already in the list, www. name next to the same name without it included.
not_in_index:
type: integer
description: Names the index does not have.
over_limit:
type: integer
description: Names after the plan's cluster size was reached, not checked.
index:
type: integer
description: 'invalid_regex: which expression, counting from 1.'
reason:
type: string
enum:
- delim
- flags
- long
- compile
description: 'invalid_regex: not in slashes or pipes, a flag other than imsu, longer than 200 characters, or does not compile.'
detail:
type: string
description: 'invalid_regex with reason compile: the compiler''s message.'
did_you_mean:
type: string
description: 'With unknown_endpoint: the nearest known path, such as /v1/account for /account.'
QuotaCounter:
type: object
required:
- limit
- used
- remaining
- resets_at
properties:
limit:
type: integer
used:
type: integer
description: 'Spent today: what was charged.'
remaining:
type: integer
description: limit minus used, never below 0. The same number as X-RateLimit-Remaining (searches) and X-Snippets-Remaining (snippets).
resets_at:
type: integer
description: Unix time of the next reset (UTC midnight). The clusters block of the account spells the same moment as an ISO 8601 string.
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: A token from https://publicwww.com/profile/api, or one obtained through OAuth 2.1. Tokens live until deleted or revoked. A token in the query string is not accepted.
externalDocs:
description: API documentation
url: https://publicwww.com/docs/api/