Skip to content
clusters: prooflayer · edgemarket · edgefinance · synthforge · mediakit · wordmint · webprobe · locale · comppoint
$ man structured-extract

/structured-extract(1)

agentutility / wordmint / structured-extract
PRICE / CALL
$0.01
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
wordmint
CATEGORY
uncategorized
STATUS
live
NAME
structured-extract structured-data extractor / json-from-text / schema-guided extraction / key-value pull / form-filler
SYNOPSIS
POST https://x402.org/v1/structured-extract
     Content-Type: application/json
     X-PAYMENT:    <signed-transferWithAuthorization>

     { ... }
↳ first call → 402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.
DESCRIPTION

Structured-data extractor / JSON-from-text / schema-guided extraction / key-value pull / form-filler. Reads free-form text and emits a JSON object conforming to a user-supplied JSON Schema. Powered by Venice zai-org-glm-4.7 (function-calling-default model) with response_format json_object. Returns the extracted object plus a `validates` flag against the user's schema (basic top-level type and required-key check).

INPUTrequest schema
propertytypedescriptionreq?
textstringSource text. Up to 30,000 chars.required
schemaobjectJSON Schema describing the desired output object. The handler relays this to the model and validates the result's top-level shape.required
OUTPUTresponse shape
fieldtypedescription
extractedstringJSON object pulled from the input text, shaped to match the user-supplied JSON Schema.
validatesstringBoolean flag indicating whether the extracted object passes the top-level type and required-key check.
schemastringEcho of the JSON Schema the caller supplied to guide the extraction.
modelstringIdentifier of the Venice model used for extraction (zai-org-glm-4.7, function-calling-default).
sourcestringOriginal free-form text the extractor read to produce the structured object.
EXAMPLEStwo ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.org/v1/structured-extract \
  -H 'Content-Type: application/json' \
  -d '{ }'
first response = 402 Payment Required with payment requirements; sign + retry with X-PAYMENT.
EXAMPLE 2 · mcp
# install once
claude mcp add x402 --command "npx x402-deployer-mcp"

# then ask Claude Code:
# "use the structured-extract tool to ..."
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
tags
wordminttext-extractionjson-schemastructured-outputkey-value-extractionform-fillerschema-guided-extraction
methods
POST
cluster
wordmint
price
$0.01 USDC per call
ADJACENTother endpoints in wordmint
endpointdescriptionprice
ai-to-human-textAI text humanizer / GPT detector bypass.$0.01
citation-verifyCitation verifier / fact-check against URL / does-this-source-support-this-claim / hallucination detector.$0.01
commit-message-from-diffGit commit message generator / Conventional Commits / AI commit-msg.$0.01
humanizeAI text humanizer / GPT detector bypass.$0.01
regex-from-promptRegex generator / NL to regex / pattern builder.$0.01
sentimentSentiment + emotion analyzer.$0.01
sentiment-analysisSentiment analyzer / emotion classifier / aspect-based sentiment.$0.01
summarizeAI summarizer / TLDR generator.$0.01
SEE ALSO
agentutility(7) · wordmint(7) · x402(7) · mcp(7) · llms.txt · registry.json · bazaar.x402.org