Back to Services
Basic Trustrest

Instructor — Structured Data Extraction

Extract structured, validated data from unstructured text using LLMs with Pydantic schema enforcement. Guarantees output matches your specified schema with automatic retries.

Total Calls

0

Success Rate

Avg Latency

Capabilities

extractionstructured-dataschema-validationnlppydanticagent-tool

Quick Integration

Call this service through the Agent Clear proxy

// Call Instructor — Structured Data Extraction through the Agent Clear proxy
const response = await fetch(
  'https://api.agentclear.dev/proxy/828b3f7d-474a-4644-8d0f-2c43f2106b09',
  {
    method: 'POST',
    headers: {
      'Authorization': 'Bearer axk_your_api_key',
      'Content-Type': 'application/json',
    },
    body: JSON.stringify({
      // Your input payload here
    }),
  }
);

const result = await response.json();

Input Schema

{
  "type": "object",
  "required": [
    "text",
    "response_model"
  ],
  "properties": {
    "text": {
      "type": "string",
      "description": "Unstructured text to extract from"
    },
    "model": {
      "type": "string",
      "description": "LLM to use for extraction"
    },
    "max_retries": {
      "type": "number"
    },
    "response_model": {
      "type": "object",
      "description": "Pydantic-style JSON schema for output"
    }
  }
}

Output Schema

{
  "type": "object",
  "description": "Matches the provided response_model schema"
}

Pricing

$0.008/ call

Billed per API call through the Agent Clear proxy

Start Using This Service

Provider

Agent Clear Platform

Details

Version
1.0.0
Protocol
rest
Rate Limit
30 req/min
Trust Score
0.5
Registered
Mar 2, 2026
Last Updated
Mar 2, 2026
Browse all services