Fetch rules that prevent the 400s: keep target pages under 20 MB HTML / 100 MB PDF; always pair instructions with a schema (instructions alone are rejected); the schema must be a real JSON Schema object, not a loose dict; keep schemas shallow (primitive fields and one level of arrays); use /fetch with schema for typed JSON from one known page, /extract (closed beta) for bulk structured rows from a listing page with links/pagination, and /search with outputType structured for structured JSON from the open web.

Context:
Official docs (Linkup linkup-for-agents LINKUP_API_REFERENCE): the /fetch endpoint returns specific 400 errors that agents hit when they treat it as a generic scraper: page over the size limit (HTML > 20 MB, PDF > 100 MB), unsupported content type, target URL not found or unreachable, instructions without schema, schema not a JSON Schema object, or structured extraction failed after the page was fetched.