Government
Migraciones Peru logo

Migraciones Peru API

sel.migraciones.gob.pe

Peru Superintendencia Nacional de Migraciones public Carné de Extranjería validation

Actions
1
Category
Government
Login
Not required
Output
JSON

Call the Migraciones Peru API

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

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_sel_migraciones_gob_pe_validate_ce",
    "params": {
      "ce_number": "001234567",
      "date_of_birth": "15/03/1990"
    }
  }'

1 action on sel.migraciones.gob.pe

Read

  • Validate Carné de Extranjería

    act_sel_migraciones_gob_pe_validate_ceread1 credit / call

    Validate a Peru Carné de Extranjería by CE number and date of birth. Returns holder name, nationality, CE status, calidad migratoria, issue and expiry dates, or found=false when the CE is not valid.

    ce_number
    string · required
    date_of_birth
    string · required

Migraciones Peru API questions

Is there an API for Migraciones Peru?
Migraciones Peru does not offer a public data API for this, but Anakin Wire provides 1 maintained endpoint for sel.migraciones.gob.pe. 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 Migraciones Peru 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 sel.migraciones.gob.pe changes its markup, Anakin updates the action.
Do I need a Migraciones Peru account?
No. Every Migraciones Peru action listed here runs anonymously — no account and no credentials required.
What does the Migraciones Peru 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