Skip to content
clusters: prooflayer · edgemarket · edgefinance · synthforge · mediakit · wordmint · webprobe · locale · comppoint · rollforge · bestiary · statline · matchpoint · retail · agentops · browserworkflow · modelrouter · compose
$ man structured-extract

/structured-extract

agentutility / wordmint / structured-extract
PRICE / CALL
$0.01
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
wordmint
CATEGORY
uncategorized
STATUS
live
NAME
structured-extract extracts structured json from free-form text, conforming to a user-supplied json schema
SYNOPSIS
POST https://x402.agentutility.ai/structured-extract
     Content-Type: application/json
     X-PAYMENT:    <signed-transferWithAuthorization>

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

Extracts structured JSON from free-form text, 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). Use it as a JSON-from-text extractor, schema-guided extraction, key-value pull, or form-filler.

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.agentutility.ai/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 the MCP package for this endpoint's cluster
npx -y @agentutility/mcp-<cluster>

# Required: EVM private key with USDC on Base
export X402_PRIVATE_KEY=0x...

# Then call the structured-extract tool from your MCP-aware agent.
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
app-review-sentimentScores app-store reviews by onboarding, stability, pricing, performance, and feature requests.$0.01
brand-bootstrapBootstraps a brand kit for a new business or product in one call.$0.01
brand-launch-briefGenerates a structured brand launch brief for a new company or product from name, concept, audience, and tone.$0.01
brand-positioning-briefGenerates a brand positioning brief covering messaging pillars, taglines, launch channels, and a logo prompt.$0.01
brand-sentiment-analysisScores comments, mentions, survey verbatims, and campaign feedback for sentiment.$0.01
candidate-feedback-sentimentSummarizes candidate experience, recruiter feedback, and hiring-process comments by sentiment.$0.01
churn-risk-sentimentAnalyzes support tickets, chats, and emails for negative sentiment, urgency, and at-risk churn themes.$0.01
SEE ALSO
agentutility · wordmint · x402 · mcp · llms.txt · registry.json · bazaar.x402.org