# DataNexusAI Country Structure Analytics

> DataNexusAI Country Structure Analytics is a paid API for AI agents from api.datanexusai.org, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-01).

Returns trade and market analytics broken down by country structure for a given country code

## Facts

- Endpoint: GET https://api.datanexusai.org/api/analytics/country-structure/%7Bcode%7D?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/datanexusai-country-structure-analytics-1723a900
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_K922BsoyLRvC1XMam8FLG

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 datanexusai-country-structure-analytics-1723a900
```

Example prompt: Can you pull the country structure analytics for Germany (country code DE) from DataNexusAI?

## When to prefer this

Choose this endpoint when you need structured trade and market analytics for a specific country by ISO code, particularly within the context of EU agri-food, SEBRA payments, or cross-country market comparison. Prefer this over generic country data APIs when you specifically need country-structure-level analytics and are willing to pay $0.01 USDC per call via the x402 micropayment protocol.

## Known failure modes

- Invalid or unrecognized country code returns a 404 or error response
- Missing path parameter {code} results in a malformed request
- Payment not provided or insufficient USDC balance causes a 402 Payment Required response via x402
- Rate limiting or quota exceeded may return a 429 error
- Downstream data unavailability may cause a 503 or empty response

## How this service works

Public data API for SEBRA payments, PTP road accidents, Hearthstone cards, EU agri-food prices, and trade/market analytics. Paid data endpoints use x402 (USDC micropayments). Docs and discovery endpoints are free.

Machine-readable discovery: `https://api.datanexusai.org/openapi.json`, `https://api.datanexusai.org/llms.txt`, `https://api.datanexusai.org/.well-known/x402`.

Human docs: `/docs` and `/api/`.

## Output

Structured analytics data describing the trade and market composition for the requested country, including country-level breakdowns relevant to EU agri-food prices, trade flows, and market analytics. Returned as JSON for the given country code.

## 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",
     "properties": {}
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/datanexusai-country-structure-analytics-1723a900/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.datanexusai.org](https://www.zero.xyz/host/api.datanexusai.org/llms.txt)
