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/marginalia-search-search-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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.
A second provider on the same verified email joins the account you already have.
OpenAPI Specification
openapi: 3.2.0
info:
title: Marginalia Search API
description: The Marginalia Search API provides programmatic access to the Marginalia independent search engine, focused on non-commercial content. The new API is hosted at api2.marginalia-search.com; legacy endpoints at api.marginalia.nu and api.marginalia-search.com remain available but deprecated. Search results are available under CC-BY-NC-SA 4.0 for non-commercial use.
version: 2.0.0
contact:
name: Marginalia Search
email: contact@marginalia-search.com
url: https://about.marginalia-search.com/article/api/
license:
name: CC-BY-NC-SA 4.0
url: https://creativecommons.org/licenses/by-nc-sa/4.0/
servers:
- url: https://api2.marginalia-search.com
description: Marginalia Search API v2 (current)
- url: https://api.marginalia-search.com
description: Legacy API endpoint
- url: https://api.marginalia.nu
description: Legacy API endpoint (original)
security:
- APIKey: []
tags:
- name: Search
description: Search the Marginalia index.
paths:
/search:
get:
operationId: search
summary: Execute a web search
description: Run a search query against the Marginalia index and return ranked results. Optional parameters allow paging, per-domain capping, NSFW filtering, and named filter application.
tags:
- Search
parameters:
- name: query
in: query
required: true
schema:
type: string
description: Search terms.
- name: count
in: query
schema:
type: integer
minimum: 1
maximum: 100
description: Number of results to return.
- name: timeout
in: query
schema:
type: integer
minimum: 50
maximum: 250
description: Maximum execution time in milliseconds.
- name: dc
in: query
schema:
type: integer
minimum: 1
maximum: 100
description: Maximum results per domain.
- name: page
in: query
schema:
type: integer
minimum: 1
description: Result page (1-indexed).
- name: nsfw
in: query
schema:
type: integer
enum:
- 0
- 1
description: NSFW content filtering (experimental).
- name: filter
in: query
schema:
type: string
description: Apply a named filter previously created via /filter.
responses:
'200':
description: Search results.
content:
application/json:
schema:
$ref: '#/components/schemas/SearchResponse'
'401':
description: Missing or invalid API key.
'429':
description: Rate limit exceeded.
components:
schemas:
SearchResult:
type: object
properties:
url:
type: string
format: uri
title:
type: string
description:
type: string
SearchResponse:
type: object
properties:
query:
type: string
description: The submitted search query.
license:
type: string
description: Licensing terms applicable to the returned results.
results:
type: array
items:
$ref: '#/components/schemas/SearchResult'
securitySchemes:
APIKey:
type: apiKey
in: header
name: API-Key
description: API key supplied via the API-Key header. A public testing key is documented; commercial and non-commercial keys are issued by contact@marginalia-search.com or via Polar.
externalDocs:
description: Marginalia Search API Documentation
url: https://about.marginalia-search.com/article/api/