# NetIntel Schema Map

> NetIntel Schema Map is a paid API for AI agents from netintel-production-440c.up.railway.app, paid per call via x402, $0.04/call, status unknown (last checked 2026-09-14).

Transforms a source JSON object into a target schema shape using rule-based and semantic field mapping with type coercions, hints, and defaults

## Facts

- Endpoint: POST https://netintel-production-440c.up.railway.app/schema/map
- Price: $0.04/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/netintel-schema-map-18d6b36f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__mSHc4x2kRCPkofXTdvJH

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 netintel-schema-map-18d6b36f -d '<json body>'
```

Example prompt: I have a source object like {name: 'Jane Doe', cost: '19.99', internal_id: 'abc'} and I need it mapped to a schema with fields full_name (string) and price (number) — use 'name' as the hint for full_name and convert cost to a number, and just drop anything that doesn't fit.

## When to prefer this

Choose this endpoint when you need to programmatically reshape or normalize a JSON object from one field-naming convention or type structure to another — especially when field names differ semantically (not just syntactically) and you want LLM-assisted matching as a fallback. It is particularly useful for ETL pipelines, API integration glue code, webhook normalization, and CRM data onboarding where manual mapping would be tedious. Prefer it over simple find-and-replace or static mapping when field relationships are ambiguous, types need coercion, or you need an audit trail of what mapped to what and how confidently.

## Known failure modes

- Source object exceeds 64KB or 200 fields — rejected with validation error, no charge
- Target schema is malformed or unparsable — input validation rejection, no charge
- Required fields missing from input body — 400-level validation error, no charge
- Server or upstream failure during semantic mapping — automatic no-charge per NetIntel policy
- Strict mode with unmapped fields — returns 200 with missing_target populated rather than an error

## How this service works

Network intelligence API — 138 endpoints, all pay-per-call via x402 micropayments (USDC on Base or Solana mainnet).

NetIntel is agent fair-trade aligned: transparent per-call pricing in USDC on Base or Solana via x402, no API keys or signup, and automatic no-charge on server errors, upstream failures, and input-validation rejections — failed calls are never billed across NetIntel's network, domain, and data-intelligence endpoints.

## Output

Returns a mapped object conforming to the target schema, a letter grade (A–F) and numeric score reflecting mapping quality, lists of missing target fields, unmapped source fields, type conversions performed, per-field mapping method and confidence, schema validity flag, and any warnings about partial or ambiguous matches.

## Request schema (JSON Schema)

```json
{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string",
     "enum": [
      "POST"
     ]
    },
    "bodyType": {
     "type": "string",
     "enum": [
      "json",
      "form-data",
      "text"
     ]
    },
    "body": {
     "type": "object",
     "properties": {
      "source": {
       "type": "object",
       "description": "The object to transform. Nested objects are addressed by dot path. Max 64KB / 200 fields."
      },
      "target_schema": {
       "type": "object",
       "description": "Desired output shape. JSON Schema ({\"type\":\"object\",\"properties\":{...},\"required\":[...]}) or a field→type map ({\"full_name\":\"string\",\"price\":\"number\",\"bio\":\"string?\"}). In the map form a field is required unless suffixed with '?'."
      },
      "hints": {
       "type": "object",
       "description": "Optional explicit mapping, keyed by target field: {\"full_name\":\"name\"} or {\"full_name\":[\"name\",\"contact\"]}. Hints outrank every automatic match."
      },
      "transforms": {
       "type": "object",
       "description": "Optional per-target-field transform: {\"price\":\"toNumber\"}. One of: toNumber, toInteger, toString, toBoolean, toISO, toDate, trim, toLowerCase, toUpperCase, toArray."
      },
      "defaults": {
       "type": "object",
       "description": "Optional value per target field to use when the source has no match: {\"currency\":\"USD\"}."
      },
      "mode": {
       "type": "string",
       "description": "\"permissive\" (default): an unmapped target field is null + a warning. \"strict\": it is omitted from `mapped`. Either way an incomplete mapping is a 200 with missing_target listed, never an error."
      },
      "allow_llm": {
       "type": "boolean",
       "description": "Default true. Gates semantic mapping. When false, fields the rules cannot match land in missing_target and no model is called."
      }
     },
     "required": [
      "source",
      "target_schema"
     ]
    }
   },
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "mapped": {
       "type": "object"
  
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "grade": "A",
  "score": 100,
  "mapped": {
   "price": 19.99,
   "full_name": "Jane Doe"
  },
  "findings": [],
  "warnings": [],
  "schema_valid": true,
  "mapped_fields": [
   {
    "method": "alias",
    "source": "name",
    "target": "full_name",
    "confidence": 1
   },
   {
    "method": "alias",
    "source": "cost",
    "target": "price",
    "confidence": 1
   }
  ],
  "missing_target": [],
  "unmapped_source": [
   "internal_id"
  ],
  "type_conversions": [
   {
    "to": "number",
    "from": "string",
    "field": "price"
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/netintel-schema-map-18d6b36f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from netintel-production-440c.up.railway.app](https://www.zero.xyz/host/netintel-production-440c.up.railway.app/llms.txt)
