{"uid":"cap_XjPeTooMPV976SCRW3JvJ","slug":"quartermaster-structured-json-extraction-03b348f8","name":"Quartermaster Structured JSON Extraction","description":"Structured extraction: give a JSON Schema plus a URL or raw text, get back JSON matching the schema.","url":"https://quartermaster.surewhynot.app/v1/extract-json","method":"GET","headers":{},"bodySchema":{"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"],"type":"string"},"queryParams":{"type":"object","required":["schema"],"properties":{"url":{"type":"string","format":"uri","description":"Page to extract from (or pass text instead)"},"text":{"type":"string","description":"Raw text to extract from (alternative to url)"},"schema":{"type":"string","description":"JSON Schema (as a JSON string) describing the desired output"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_3VWI7fnfYd00ovOFul5br","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts structured JSON from a URL or raw text using a caller-supplied JSON Schema to define the output shape.","exampleAgentPrompt":"Fetch the Wikipedia page for Elon Musk at https://en.wikipedia.org/wiki/Elon_Musk and extract just his birthdate, nationality, and list of companies he founded — return it as JSON matching this schema: {\"type\":\"object\",\"properties\":{\"birthdate\":{\"type\":\"string\"},\"nationality\":{\"type\":\"string\"},\"companies\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}}}","exampleUseCases":[{"title":"Scrape product page for catalog","prompt":"Go to https://www.bestbuy.com/site/apple-macbook-pro/6525065.p and pull out the product name, price, available colors, and customer rating — give it back as JSON matching this schema: {\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\"},\"price\":{\"type\":\"number\"},\"colors\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"rating\":{\"type\":\"number\"}}}"},{"title":"Parse job posting into structured fields","prompt":"Take this raw job posting text and extract the job title, company name, location, required skills, and salary range into JSON using this schema: {\"type\":\"object\",\"properties\":{\"title\":{\"type\":\"string\"},\"company\":{\"type\":\"string\"},\"location\":{\"type\":\"string\"},\"skills\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"salary\":{\"type\":\"string\"}}}"},{"title":"Extract news article metadata automatically","prompt":"Fetch the article at https://www.bbc.com/news/technology-68064459 and extract the headline, author, publication date, and a list of topics mentioned — return it as JSON matching this schema: {\"type\":\"object\",\"properties\":{\"headline\":{\"type\":\"string\"},\"author\":{\"type\":\"string\"},\"published_date\":{\"type\":\"string\"},\"topics\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}}}"}],"resultDescription":"A JSON object conforming to the caller-supplied JSON Schema, populated with values extracted from the provided URL or raw text. The response is structured data ready for downstream use, with fields mapped according to the schema definitions.","failureModes":["URL is inaccessible or returns non-200 — extraction cannot proceed","Supplied JSON Schema is malformed or invalid — returns schema parse error","Requested fields are not present in the source content — returns null or missing fields","Source content is too large or complex for extraction — may return partial results","Both url and text omitted — missing required input error","Schema describes a shape incompatible with source content — best-effort or empty result"],"whenToPreferThis":"Choose this endpoint when you need to transform unstructured web pages or raw text into typed, schema-defined JSON objects. Ideal when you already know the exact output shape you want and want extraction guided by your schema. Prefer this over generic scrapers when field-level structure matters, and over LLM prompting alone when you need reliable, validated JSON output conforming to a specific contract.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:36:00.013Z","isFirstParty":false}