# BUY SIGNAL Portugal — NIF Buy Signal Lookup

> BUY SIGNAL Portugal — NIF Buy Signal Lookup is a paid API for AI agents from buy-signal-portugal.onrender.com, paid per call via x402, $0.03/call, status unknown (last checked 2026-10-16).

Look up a Portuguese company by NIF to retrieve official Portugal 2030 funded-project facts and rule-based purchasing inferences.

## Facts

- Endpoint: GET https://buy-signal-portugal.onrender.com/company/507168216/buy-signal?utm_source=zero.xyz
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/buy-signal-portugal-nif-buy-signal-lookup-43aa09ae
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mgaQfWgWoc9Llpz9C_MUi

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 buy-signal-portugal-nif-buy-signal-lookup-43aa09ae
```

Example prompt: Pull the BUY SIGNAL Portugal report for NIF 507168216 — I want to see what EU-funded projects they have and what purchasing categories can be inferred from them.

## When to prefer this

Use this endpoint when you need official Portugal 2030 EU-funded project data enriched with purchasing inferences for a specific Portuguese company identified by NIF. Prefer it over generic company databases when your goal is B2B sales research, procurement signal detection, or investment due diligence specifically tied to EU-funded expansion projects in Portugal. It is not a live feed and not suitable for real-time procurement tracking.

## Known failure modes

- NIF not found in Portugal 2030 dataset — returns status other than FOUND with empty signals array
- Invalid NIF format (not exactly 9 digits) — rejected by input validation
- Payment not processed (x402 protocol failure) — endpoint returns 402 before data is delivered
- Data is snapshot-based, not live — project status may lag official records by weeks
- Purchase inferences are heuristic/rule-based, not confirmed orders — may produce false positives

## How this service works

Look up Portuguese beneficiaries by NIF. Get official Portugal 2030 funded-project facts and clearly labelled purchasing inferences. 0.03 USDC per lookup.

## Output

A JSON object containing the company name, NIF, count of funded projects found, and an array of signals. Each signal includes: official project facts (description, source URL, intervention field, source date), a signal object (funding amount in EUR, project start/end dates, score, strength), purchase inferences (rule-based category matches with matched terms and confidence levels), a commercial assessment (commercial usefulness classification), API guardrail labels, and freshness metadata about the data snapshot.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "nif"
     ],
     "properties": {
      "nif": {
       "type": "string",
       "pattern": "^[0-9]{9}$",
       "description": "9-digit Portuguese company NIF/NIPC path parameter."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "status",
      "nif",
      "signals",
      "count"
     ],
     "properties": {
      "nif": {
       "type": "string"
      },
      "count": {
       "type": "integer"
      },
      "status": {
       "type": "string"
      },
      "company": {
       "type": [
        "string",
        "null"
       ]
      },
      "signals": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "facts": {
          "type": "object",
          "description": "Official project text, provenance and source reporting date."
         },
         "signal": {
          "type": "object",
          "description": "Funding and scheduled dates are source facts; score and strength are heuristic, not purchase probabilities."
         },
         "operation_code": {
          "type": "string"
         },
         "purchase_inferences": {
          "type": "array",
          "items": {
           "type": "object"
          },
          "description": "Rule-based category matches with matched terms and confidence; not confirmed orders."
         },
         "commercial_assessment": {
          "type": "object",
          "properties": {
           "commercial_usefulness": {
            "enum": [
             "RESEARCH_LEAD",
             "HISTORICAL_CONTEXT",
             "UNKNOWN"
            ],
            "type": "string"
           },
           "current_purchase_opportunity": {
            "enum": [
             "UNKNOWN"
            ],
            "type": "string"
           }
  
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "nif": "507168216",
  "count": 2,
  "status": "FOUND",
  "company": "EXLABESA EXTRUSION COIMBRA, LDA",
  "signals": [
   {
    "_api": {
     "product": "BUY SIGNAL Portugal",
     "version": "0.7.1",
     "guardrail": "Purchase categories are inferred signals, not confirmed purchase orders.",
     "facts_and_inferences_separated": true
    },
    "facts": {
     "source_url": "https://transparencia.gov.pt/pt/fundos-europeus/pt2030/beneficiarios-projetos/projeto/COMPETE2030-FEDER-03487100/",
     "dataset_url": "https://portugal2030.pt/wp-content/uploads/sites/3/2026/09/PT2030-Lista-Operacoes-a-Publicar_31-ago-2026.xlsx",
     "description": "A Exlabesa implementa em Soure, Coimbra, um investimento para a expansão da capacidade produtiva de 5.500 para 12.000 toneladas anuais (+243%) através de linha de extrusão 12\" de 45 MN com tecnologia short-stroke e automação robotizada. O projeto integra soluções Indústria 4.0 com PLC Allen-Bradley, diagnóstico preditivo e sistemas digitais avançados, complementado por painéis fotovoltaicos de 1MW para autoconsumo energético.\nA operação aborda a",
     "source_type": "official_public_record",
     "source_updated": "2026-08-31",
     "intervention_field": "Desenvolvimento empresarial e internacionalização das PME, incluindo os investimentos produtivos"
    },
    "schema": "buy-signal.pt.v0.2",
    "signal": {
     "event": "funded_project_detected",
     "score": 61,
     "stage": "unknown",
     "strength": "MEDIUM",
     "funding_eur": 9599750.99,
     "project_end": "2028-08-31",
     "project_name": "Exlabesa - aumento da capacidade produtiva",
     "execution_pct": null,
     "project_start": ""
    },
    "company": {
     "name": "EXLABESA EXTRUSION COIMBRA, LDA",
     "nipc": "507168216",
     "beneficiary_profile": {
      "type": "unclassified",
      "basis": "insufficient_evidence",
      "confidence": 0,
      "matched_terms": []
     }
    },
    "guardrail": "Purchase categories are inferred signals, not confirmed purchase orders.",
    "change_type": "snapshot",
    "detected_at": "2026-10-01T20:48:05.118134+00:00",
    "operation_code": "COMPETE2030-FEDER-03487100",
    "purchase_inferences": [
     {
      "basis": "project_name_and_purpose",
      "category": "industrial_automation",
      "confidence": 0.82,
      "matched_terms": [
       "indústria 4.0",
       "automação"
      ]
     },
     {
      "basis": "project_name_and_purpose",
      "category": "pr
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/buy-signal-portugal-nif-buy-signal-lookup-43aa09ae/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from buy-signal-portugal.onrender.com](https://www.zero.xyz/host/buy-signal-portugal.onrender.com/llms.txt)
