Portuguese Web Archive Search API

Search the Portuguese web archive (Arquivo.pt) by keyword, site and date. Each record is one archived page or file with its title, original link, capture time, snippet and a link to the archived copy.

$0.50 per 1,000 records

You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.

Try it
Ready-made, maintained by usRecords, 7 fieldsv1.0

Data from arquivo.pt/textsearch

Get this data

Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.

Try it

Search
Words to search for in archived pages
Example: telecom
Siteoptional
Only pages from this site
Example: publico.pt
From dateoptional
Archived on or after (YYYY-MM-DD)
Example: 2010-01-01

Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key

For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
Endpoint
POSThttps://pullrow.dev/v1/apis/portuguese-web-archive-search/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
10,000 free records of this API to start. No card.
curl
curl -X POST "https://pullrow.dev/v1/apis/portuguese-web-archive-search/run" \
  -H "Authorization: Bearer $PULLROW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"search":"telecom"},"max_items":50}'

Inputs

Send them as input in the request body. Leave one out to use its default.

searchtextrequired
Words to search for in archived pages
example: telecom
sitetext
Only pages from this site
example: publico.pt
from_datetext
Archived on or after (YYYY-MM-DD)
example: 2010-01-01

What's in each record

7 fields.

Basics

  • Title

    Title of the archived page

    Example Slide 1

  • Snippet

    Short text excerpt matching the search

    Example Este documento é propriedade intelectual da PT e fica proibida a sua utilização ou propagação sem expressa autorização…

  • Mime type

    Content type of the captured file, such as text/html

    Example application/pdf

  • Site

    Website host of the original page

    Example nercab.pt

Dates

  • Archived

    When the archive captured it (UTC)

    Example Feb 11, 2016

Technical detailsField names and types for developers

Field names and types

The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.

Field nameTypeShown on this page asFilled
titletextTitle3 of 3
original_urllinkOriginal link3 of 3
archived_atdate and timeArchived3 of 3
snippettextSnippet3 of 3
mime_typetextMime type3 of 3
archive_urllinkArchive link3 of 3
sitetextSite3 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordTitleSnippetMime typeSiteArchivedOriginal linkArchive link
1Slide 1Este documento é propriedade intelectual da PT e fica proibida a sua utilização ou propagação sem expressa autorização escrita Associação Empresarial da Beira Baixa (AEBB) Condições Exclusivas para Associados Janeiro 2015 Para aderir ou obter mais informações: Contacte o seu…application/pdfnercab.ptFeb 11, 2016nercab.pt/media/3048934/cc_aebb_012015.pdfarquivo.pt/wayback/20160211015425/https://nercab.pt/media/3048934/cc_aebb_012015.pdf
2Slide 1BEREC – Examining EoI Jon Furmston, Director Equality of Access Office © British Telecommunications plc Taking each decision tree question in turn… What is EoI? EoI in Practice QoS Requirements Information Requirements System Requirements Compliance Regime Costs/Benefits ©…application/vnd.ms-powerpointberec.europa.euNov 21, 2014berec.europa.eu/files/workshop2014/20140429presentations/4.%20british%20telecom%20jon%20furmston%20presentation.pptarquivo.pt/wayback/20141121145010/https://berec.europa.eu/files/workshop2014/20140429presentations/4.%20british%20telecom%20jon%20furmston%20presentation.ppt
3Главнаясервис Доставка от 1 дня по РФ Складские запасы Техническое сопровождение Многолетний опыт в IT и Telecom Ждем вас в партнерской программе Наши решения Мы работаем напрямую без посредников и являемся официальным партнером, дистрибьютором или дилером. В нашей компании…text/htmlliketel.ruMay 5, 2022liketel.ruarquivo.pt/wayback/20220505181305/https://liketel.ru/

Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.

Reliability

Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.

Incidents and repairs

How it is kept working What a repair can't do

A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.

  • You pay only for records returned. A run that returns none costs nothing.
Known limits
  • Titles and short snippets only (about 300 characters); full page text is not returned, open archive_url for the archived copy.
  • Covers pages the Portuguese archive captured, mostly Portuguese-language and .pt sites from the mid-1990s on; it is not a copy of the whole web.
  • The archive reports an estimated total only; one search pages through at most a few thousand results.
  • Near-duplicate titles from the same site are collapsed by the archive, so counts can be lower than the raw capture count.
  • Source is Arquivo.pt, free and open; credit Arquivo.pt when you publish results.

Version history

A run uses the live version unless the request names another one with version.