# Edge Agents Spain FDI Net Inflows Decision Intelligence

> Edge Agents Spain FDI Net Inflows Decision Intelligence is a paid API for AI agents from pay.edge-agents.ai, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Delivers evidence-backed macro intelligence on Spain's Foreign Direct Investment (FDI) net inflows, including provenance, contradictions, and bounded analysis for business leaders and AI agents.

## Facts

- Endpoint: GET https://pay.edge-agents.ai/v1/services/macro-es-fdi-inflows
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/edge-agents-spain-fdi-net-inflows-decision-intelligence-bf3c6285
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_sBAZSeEanFoj7FLy53sXw

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 edge-agents-spain-fdi-net-inflows-decision-intelligence-bf3c6285
```

Example prompt: Pull the latest Spain FDI net inflows report from Edge Agents — I need the macro evidence summary, confidence level, and provenance for our board strategy deck on Southern European investment.

## When to prefer this

Choose this endpoint when you need specifically Spain-scoped FDI net inflows macro intelligence with explicit provenance, confidence ratings, and source attribution — especially for board-level, CFO, or autonomous agent workflows that require verifiable, bounded analysis rather than raw data feeds. Prefer this over generic financial data APIs when signed provenance, contradiction flagging, and decision-ready formatting matter.

## Known failure modes

- Payment not received or insufficient USDC — returns HTTP 402 requiring x402 payment
- Invalid or missing query parameters — may return malformed or empty evidence set
- Data unavailable for the requested period — limitations field will state coverage gaps
- Network timeout or service unavailability — standard HTTP 5xx error
- Stale data if upstream macro sources have not refreshed — freshness caveats stated in limitations field

## How this service works

Latest available Spain fdi net inflows plus a comparable annual history from the World Bank World Development Indicators API, with source, lag and revision caveats. Purpose: Give an autonomous agent a normalized, directly sourced Spain fdi net inflows series without forcing it to understand World Bank indicator codes or response shapes. 24-hour freshness target; missing evidence is reported explicitly rather than invented.

## Output

A structured JSON report containing: a quality status and confidence rating, a macro analysis summary for Spain FDI net inflows with intent tags, evidence assets with policy and sources, a signed provenance record from edge-agents.ai, a generated timestamp, schema version, and explicit disclaimers and data limitations. The response is point-in-time and never inferred — it draws from actual live reports.

## 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": [],
     "properties": {},
     "description": "No parameters are required. The report is generated from fresh eligible evidence at purchase time.",
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "serviceId",
      "generatedAt",
      "dataStatus",
      "analysis"
     ],
     "properties": {
      "quality": {
       "type": "object",
       "description": "Evidence-quality assessment; not probability of profit."
      },
      "analysis": {
       "type": "object",
       "description": "Product-specific findings calculated from eligible evidence."
      },
      "evidence": {
       "type": "object",
       "description": "Observed evidence, providers, timestamps and source lineage supporting the analysis."
      },
      "reportId": {
       "type": "string",
       "description": "Product report identifier when the service exposes one."
      },
      "serviceId": {
       "type": "string",
       "const": "macro-es-fdi-inflows"
      },
      "dataStatus": {
       "enum": [
        "complete",
        "partial",
        "unavailable"
       ],
       "type": "string",
       "description": "Completeness of eligible evidence used by the live report."
      },
      "deliveryId": {
       "type": "string",
       "description": "Unique delivery identifier returned after a successful paid request."
      },
      "disclaimer": {
       "type": "string"
      },
      "provenance": {
       "type": "object",
       "description": "Issuer and signature/verification status when available."
      },
      "generatedAt": {
       "type": "string",
       "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})$",
       "description": "RFC3339 date-time timestamp."
      },
      "limitations": {
       "type": "array",
       "items": {
        "type": "string"
     
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/edge-agents-spain-fdi-net-inflows-decision-intelligence-bf3c6285/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from pay.edge-agents.ai](https://www.zero.xyz/host/pay.edge-agents.ai/llms.txt)
