# Atalaya API – Spanish NIF/NIE Validator

> Atalaya API – Spanish NIF/NIE Validator is a paid API for AI agents from 178.104.25.10.sslip.io, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-16).

Validates a Spanish NIF or NIE identification number and returns its type and validity status

## Facts

- Endpoint: GET https://178.104.25.10.sslip.io/api/nif
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/atalaya-api-spanish-nif-nie-validator-98aa2a4a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lf1lMWSiJu-ejf5OT2r_w

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability atalaya-api-spanish-nif-nie-validator-98aa2a4a
```

Example prompt: Can you check if the Spanish NIF number 12345678Z is valid?

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-call validation of Spanish NIF or NIE numbers without setting up a subscription or managing API keys — ideal for low-volume KYC checks, invoice compliance, or form validation in Spanish-market applications.

## Known failure modes

- Missing 'numero' query parameter returns an error
- Malformed or non-Spanish ID format may return valid:false
- Network or server errors on the IP-based host may cause timeouts
- Payment failure via x402 micropayment protocol blocks the request

## How this service works

Crypto market data and Spanish business data via x402 micropayments. USDC on Base.

## Output

A JSON object containing the input number as provided, the document type (NIF or NIE), and a boolean indicating whether the number is valid according to Spanish identification rules.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "numero"
     ],
     "properties": {
      "numero": {
       "type": "string",
       "description": "Spanish NIF or NIE number to validate"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "type": "NIF",
  "input": "12345678Z",
  "valid": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/atalaya-api-spanish-nif-nie-validator-98aa2a4a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 178.104.25.10.sslip.io](https://www.zero.xyz/host/178.104.25.10.sslip.io/llms.txt)
