Skip to main content
POST
/
api
/
borme
/
announcements
/
search
/borme/announcements/search
curl --request POST \
  --url https://api.anysite.io/api/borme/announcements/search \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "count": 2,
  "timeout": 300,
  "company": "BANCO DE SABADELL",
  "document_text": "fusión",
  "date_from": "2026-01-01",
  "date_to": "2026-06-30"
}
'
[
  {
    "id": "<string>",
    "@type": "@borme_announcement",
    "company": "<string>",
    "announcement_type": "<string>",
    "text": "<string>",
    "date": "<string>",
    "gazette_number": "<string>",
    "page_start": 123,
    "page_end": 123,
    "pdf_url": "<string>"
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
count
integer
required

Max number of announcements to return

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
company
string | null

Company name to search legal announcements for

Example:

"BANCO DE SABADELL"

document_text
string | null

Free-text query matched against the full announcement content

Example:

"fusión"

date_from
string | null

Earliest publication date in YYYY-MM-DD format

Example:

"2026-01-01"

date_to
string | null

Latest publication date in YYYY-MM-DD format

Example:

"2026-06-30"

Response

Successful Response

id
string
required
@type
string
default:@borme_announcement
company
string | null
announcement_type
string | null
text
string | null
date
string | null
gazette_number
string | null
page_start
integer | null
page_end
integer | null
pdf_url
string | null