{"uid":"cap__mSHc4x2kRCPkofXTdvJH","slug":"netintel-schema-map-18d6b36f","name":"NetIntel Schema Map","description":"Network intelligence API — 138 endpoints, all pay-per-call via x402 micropayments (USDC on Base or Solana mainnet).\n\nNetIntel 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.","url":"https://netintel-production-440c.up.railway.app/schema/map","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["source","target_schema"],"properties":{"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."},"hints":{"type":"object","description":"Optional explicit mapping, keyed by target field: {\"full_name\":\"name\"} or {\"full_name\":[\"name\",\"contact\"]}. Hints outrank every automatic match."},"source":{"type":"object","description":"The object to transform. Nested objects are addressed by dot path. Max 64KB / 200 fields."},"defaults":{"type":"object","description":"Optional value per target field to use when the source has no match: {\"currency\":\"USD\"}."},"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."},"transforms":{"type":"object","description":"Optional per-target-field transform: {\"price\":\"toNumber\"}. One of: toNumber, toInteger, toString, toBoolean, toISO, toDate, trim, toLowerCase, toUpperCase, toArray."},"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 '?'."}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"grade":{"type":"string"},"score":{"type":"number"},"mapped":{"type":"object"},"findings":{"type":"array"},"warnings":{"type":"array"},"schema_valid":{"type":"boolean"},"mapped_fields":{"type":"array"},"missing_target":{"type":"array"},"unmapped_source":{"type":"array"},"type_conversions":{"type":"array"}}}}}}},"responseSchema":{"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"}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.04","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.04/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Rre9nq8lrJMhwY2sRj0b-","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.04","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Transforms a source JSON object into a target schema shape using rule-based and semantic field mapping with type coercions, hints, and defaults","exampleAgentPrompt":"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.","exampleUseCases":[{"title":"Normalize webhook payload to database schema","prompt":"I'm getting webhook payloads from Stripe with fields like 'amount_total', 'customer_email', and 'created' but my database expects 'total', 'email', and 'created_at' as an ISO date string — can you map this payload across and coerce the types to match my schema?"},{"title":"Harmonize data from two vendor APIs","prompt":"I have product records from two different supplier APIs with completely different field names and I need them both normalized to a common schema with fields: product_name (string), sku (string), price (number), and in_stock (boolean) — map each record over and tell me what fields couldn't be matched."},{"title":"Validate and reshape form submission data","prompt":"I've got a raw form submission object and a strict target schema for my CRM — map the form fields to the CRM schema, apply trim and toLowerCase transforms where needed, use 'USD' as the default currency if it's missing, and flag any required fields that couldn't be filled."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:42:57.391Z","isFirstParty":false}