Zum Inhalt
HALOWERK

Webinhalte extrahieren

structured

Fill a caller supplied JSON Schema from one web page and report source and confidence for every field.

POST https://fetch.halowerk.com/structured

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
urlstringJaAbsolute http or https URL to read.
schemaobjectJaTarget JSON Schema, draft 2020-12. Only the types object, array, string, number, integer, boolean and null are accepted; composition keywords such as $ref, oneOf, anyOf, allOf and if/then are refused. At most 200 fields and no deeper than max_depth. The root must describe an object.
strictbooleanNeintrue rejects the call with 422 when the result violates the submitted schema, so no partial data is returned and nothing is charged. false returns the partial data with the error list.
max_depthintegerNeinMaximum nesting depth the submitted schema may use. A deeper schema is refused before payment.
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "required": [
    "url",
    "schema"
  ],
  "properties": {
    "url": {
      "type": "string",
      "format": "uri",
      "description": "Absolute http or https URL to read."
    },
    "schema": {
      "type": "object",
      "description": "Target JSON Schema, draft 2020-12. Only the types object, array, string, number, integer, boolean and null are accepted; composition keywords such as $ref, oneOf, anyOf, allOf and if/then are refused. At most 200 fields and no deeper than max_depth. The root must describe an object."
    },
    "strict": {
      "type": "boolean",
      "default": true,
      "description": "true rejects the call with 422 when the result violates the submitted schema, so no partial data is returned and nothing is charged. false returns the partial data with the error list."
    },
    "max_depth": {
      "type": "integer",
      "minimum": 1,
      "maximum": 4,
      "default": 3,
      "description": "Maximum nesting depth the submitted schema may use. A deeper schema is refused before payment."
    }
  }
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "url": "https://example.com/",
  "schema": {},
  "strict": true,
  "max_depth": 3
}

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →