Government
Contractació Pública de Catalunya logo

Contractació Pública de Catalunya API

contractaciopublica.cat

Catalan public procurement tenders, documents, and contracting bodies

Actions
4
Category
Government
Login
Not required
Output
JSON

Call the Contractació Pública de Catalunya API

Submit a task, then poll the job until it settles. This example runs act_contractaciopublica_cat_recent_publications.

curl -X POST https://api.anakin.io/v1/wire/task \
  -H "X-API-Key: $ANAKIN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "action_id": "act_contractaciopublica_cat_recent_publications",
    "params": {
      "page": 0,
      "size": 20
    }
  }'

4 actions on contractaciopublica.cat

Read

  • Recent Publications

    act_contractaciopublica_cat_recent_publicationsread1 credit / call

    Licitacions published or updated recently (ultimes publicacions).

    page
    integer
    size
    integer
    tipus
    integer
  • Tender Changes

    act_contractaciopublica_cat_tender_changesread1 credit / call

    Rectificacions, modificacions, aclariments timeline for one licitacio.

    expedient_id
    string · required
    publicacio_id
    integer · required
  • Tender Detail

    act_contractaciopublica_cat_tender_detailread1 credit / call

    Full detail for one licitacio by expedient_id + publicacio_id or publicacio_id alone.

    expedient_id
    string
    publicacio_id
    integer · required
  • Tender Documents

    act_contractaciopublica_cat_tender_documentsread1 credit / call

    List all documents (plecs, annexos, anunci) for one licitacio.

    expedient_id
    string · required
    publicacio_id
    integer · required
    include_amendments
    boolean

Contractació Pública de Catalunya API questions

Is there an API for Contractació Pública de Catalunya?
Contractació Pública de Catalunya does not offer a public data API for this, but Anakin Wire provides 4 maintained endpoints for contractaciopublica.cat. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
How do I scrape Contractació Pública de Catalunya data?
POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when contractaciopublica.cat changes its markup, Anakin updates the action.
Do I need a Contractació Pública de Catalunya account?
No. Every Contractació Pública de Catalunya action listed here runs anonymously — no account and no credentials required.
What does the Contractació Pública de Catalunya API cost?
Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.

More Government APIs

All Government sites