Search the Marginalia index.
GET/search
- Takes: Name
- Passive: the target is not contacted
Returns matching pages. The docs do not give default values for the optional parameters.
Query parameters
querySearch terms
countNumber of results, 1 to 100
timeoutQuery execution timeout in milliseconds, 50 to 250
dcMaximum results per domain, 1 to 100
pageResults page, starting at 1
nsfw0 for no filter; 1 (experimental) reduces extreme results
filterName of a custom filter
Response fields · 5ShowHide
query
The query that was run
license
License information for the results
url
Address of the result
title
Page title
description
Page description
curl 'https://api2.marginalia-search.com/search?query=json%20api' \
-H 'API-Key: YOUR_API_KEY'{
"query": "json api",
"license": "Example license text",
"results": [
{
"url": "https://example.com/json-api-notes",
"title": "Notes on a JSON API",
"description": "A short example description of the page."
}
]
}