Structify

Popular
v1Stable
3points per call

Convert unstructured text to structured JSON using AI

Transform unstructured text data into well-structured JSON objects with automatic schema inference and type detection.

Interactive ExplorerGet API Token

Pricing

3 points

per request

Rate Limit

30

requests per minute

Category

Data Transformation

API Type

Navigation

API Endpoint

Use this endpoint to make requests to the API

POST https://apphighway.com/api/v1/structify

Request Parameters

Input parameters accepted by this API

ParameterTypeRequiredDescriptionExample
textstringYesThe unstructured text to convert to JSONJohn Doe, age 30, works at Acm...
schemaobjectNoOptional target schema for the structured output[object Object]
infer_typesbooleanNoAutomatically infer data types from the text
Default: true
true

Response Fields

Fields returned in the API response

ParameterTypeDescriptionExample
statusstringStatus of the conversion requestsuccess
dataobjectThe structured JSON object[object Object]
schemaobjectInferred or applied schema[object Object]
pointsUsednumberNumber of points consumed by this request3

Response Schema

JSON schema structure of the API response

{
  "status": "success",
  "data": {
    "name": "John Doe",
    "age": 30,
    "company": "Acme Corp"
  },
  "schema": {
    "name": "string",
    "age": "number",
    "company": "string"
  },
  "pointsUsed": 3
}

Request Format

All requests must include authentication headers and JSON payload

Required Headers

Authorization:Bearer YOUR_API_TOKEN
Content-Type:application/json

Example Request

{
  "data": "example input",
  "options": {
    "format": "json"
  }
}

Example Response

{
  "status": "success",
  "data": {
    "result": "processed output"
  },
  "pointsUsed": 3,
  "remainingPoints": 97
}

Points Deduction

How points are charged for this API

Pre-Processing Deduction

Points are deducted BEFORE processing your request to ensure fair billing

Insufficient Balance

Requests are rejected immediately if you don't have enough points

Rate Limiting

API request rate limits and throttling policies

Request Limit

This API allows up to 30 requests per minute per API token

Rate Limit Exceeded

If you exceed the rate limit, you'll receive a 429 Too Many Requests error. Implement exponential backoff in your client.

Rate Limit Headers

All responses include X-RateLimit-Limit, X-RateLimit-Remaining, and X-RateLimit-Reset headers for monitoring your usage

Structify API V1 - AppHighway