- Takes: Name
- Passive: the target is not contacted
Returns archived captures whose text matches all terms. Use quotes for exact phrases and a leading minus to exclude a term. A URL in q returns HTTP 400; use the version history endpoint for URLs. At most 500 results per request.
Query parameters
qSearch terms; all must match
fromCaptures on or after this timestamp, YYYYMMDDHHMMSS (shorter forms accepted)
toCaptures on or before this timestamp; shorter forms use the start of the period
typeComma-separated document types such as pdf, doc/docx, html
siteSearchComma-separated sites; *.host includes subdomains
languageDetected page language, ISO 639-1
offsetResults to skip
maxItemsResults per page, maximum 500
fieldsComma-separated result fields to return
Response fields · 11ShowHide
serviceName
Service name
estimated_nr_results
Estimated total results across all pages
next_page
URL of the next page; omitted on the last page
title
HTML title of the page
originalURL
URL of the captured version
linkToArchive
Wayback-style link on Arquivo.pt
tstamp
UTC crawl time, YYYYMMDDHHMMSS
digest
Content hash
mimeType
MIME type
collection
Collection ID
snippet
HTML excerpt with query terms in <em>
curl 'https://arquivo.pt/textsearch?q=Albert%20Einstein'{
"serviceName": "Arquivo.pt - the Portuguese web-archive",
"estimated_nr_results": 120,
"next_page": "https://arquivo.pt/textsearch?q=example&offset=1",
"response_items": [
{
"title": "Example page",
"originalURL": "https://www.example.org/page",
"linkToArchive": "https://arquivo.pt/wayback/20090709033948/https://www.example.org/page",
"tstamp": "20090709033948",
"digest": "0000000000000000000000000000000000000000",
"mimeType": "text/html",
"collection": "AWP4",
"snippet": "An <em>example</em> excerpt"
}
]
}