Códigos

Lookup masivo de códigos

Changed on

Consulta hasta 50 códigos IAE o CNAE en una sola petición. Requiere plan Profesional o superior. No incluido en la prueba de 14 días. Devuelve los resultados en el mismo orden que se solicitan, con found: false para los no encontrados.

post/bulk

Request

  • Base URL
    https://www.conversoriaecnae.es/api/v1
  • URL
    https://www.conversoriaecnae.es/api/v1/bulk
  • Auth
    API key in header X-API-Key

Request body

codesstring[] required

Lista de códigos (1–50). Cada uno solo dígitos y puntos, máx. 20 caracteres.

type'iae' | 'cnae' required

Example request

{
  "codes": [
    "501.3",
    "504.1",
    "505.4"
  ],
  "type": "iae"
}

Response

Resultados del lookup masivo

type'iae' | 'cnae'
totalinteger
foundinteger

Example response

{
  "type": "iae",
  "results": [
    {
      "code": "501.3",
      "found": true
    }
  ],
  "total": 3,
  "found": 2,
  "_meta": {
    "plan": "free",
    "remaining": 248,
    "trial_ends_in_days": 9,
    "upgrade_hint": "Estás usando más del 80% de tu cuota diaria de Profesional. Empresa (79€/mes) amplía a 300.000 consultas/mes: https://www.conversoriaecnae.es/precios.",
    "upgrade": {
      "url": "https://www.conversoriaecnae.es/precios",
      "current_plan": "free",
      "recommended_plan": {
        "id": "profesional",
        "label": "Profesional",
        "daily_limit": 2000,
        "monthly_price_eur": 29
      },
      "daily_limit_after": 2000,
      "price_eur_monthly": 29
    }
  }
}

Changes

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status