OpenAPI lint API
Checks an OpenAPI 3.0/3.1 document (as JSON): version, info, paths, responses, unique operationIds, declared path parameters and unresolved local $refs. This is one of 71 pay-per-call tools in the Highland Intel API, also available as an MCP tool named openapi-lint.
Price
2¢ per successful call (USD). 1 credit = 1 US cent. After the daily free allowance, pay with credits or per call with x402 (USDC on Base). Category: Developer tools.
Try it
POST https://api.highlnd-intel.group/v1/api/openapi-lint with a Bearer key and a JSON body.
curl -s https://api.highlnd-intel.group/v1/api/openapi-lint \
-H "authorization: Bearer $HIGHLAND_KEY" \
-H "content-type: application/json" \
-d '{"spec":{"openapi":"3.1.0","info":{"title":"Items","version":"1.0.0"},"paths":{"/items/{id}":{"get":{"operationId":"getItem","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"$ref":"#/components/responses/Item"}}}}},"components":{"responses":{"Item":{"description":"One item"}}}}}'{
"spec": {
"openapi": "3.1.0",
"info": {
"title": "Items",
"version": "1.0.0"
},
"paths": {
"/items/{id}": {
"get": {
"operationId": "getItem",
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"$ref": "#/components/responses/Item"
}
}
}
}
},
"components": {
"responses": {
"Item": {
"description": "One item"
}
}
}
}
}Request body
| Field | Type | Required | Description |
|---|---|---|---|
spec | object | Yes | The OpenAPI document as a JSON object (convert YAML first). Request bodies are capped at 64 KiB. |
What it returns
{ valid, version, operations, refs, unresolvedRefs, errors: [{ path, message }], warnings: [{ path, message }] } A successful response wraps that payload in the usual Highland envelope: api, priceCents, payment (for example free_tier or credits), balanceCents, freeUsedToday, freeLimit, freeRemaining, and result.
Get a free API key
No email, no card. The key is shown once.
curl -s -X POST https://api.highlnd-intel.group/v1/keys
export HIGHLAND_KEY="hk_live_paste_yours_here"Full walkthrough: Quickstart. Key management: API keys. Buy more credits: api.highlnd-intel.group/buy.
MCP and x402
The same tool is available over MCP (Streamable HTTP) at https://api.highlnd-intel.group/mcp as openapi-lint. Connect it in Claude, ChatGPT, Grok, or Cursor and other editors.
OpenAPI: /openapi.json. Catalog: /v1/catalog. This tool in the API reference.
Related tools
- JSON Schema validate API — Validates a JSON value against a JSON-Schema subset and lists every error path (1¢)
- Regex tester API — Runs a JavaScript regex over sample text and returns matches and groups (capped sizes) (1¢)
- Cron explainer API — Explains a 5-field cron expression in plain English (UTC, as Cloudflare runs it) (1¢)
- Text diff API — Line-by-line diff of two texts (up to 500 lines each) (2¢)
- Hash API — SHA-1/256/384/512 hex digest of UTF-8 text (1¢)
See every tool on the tool pages index or the API reference.