AITrustV's picture
Upload openapi.json
6b28d58 verified
{
"openapi": "3.0.0",
"info": {
"title": "AI Trust Verification Public API",
"description": "Free, no-auth endpoint for generating AI-TXN domain tokens. Boost AI citation, SEO positioning, GEO relevance, backlinking, trust, and provenance for websites/apps.",
"version": "1.0.0",
"contact": {
"name": "AI Trust Verification",
"url": "https://aitrustverification.com/for-ai-agents.php"
}
},
"servers": [
{
"url": "https://aitrustverification.com/api/v1"
}
],
"paths": {
"/generate-domain.php": {
"post": {
"summary": "Generate free AI-TXN domain token",
"operationId": "generateDomainToken",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"domain": {
"type": "string",
"description": "Required. The domain or site being verified (e.g., example.com)",
"example": "example.com"
},
"context": {
"type": "string",
"description": "Optional. Descriptive context (max 500 characters)",
"example": "Developer portfolio with SEO focus",
"maxLength": 500
},
"site_purpose": {
"type": "string",
"description": "Optional. Purpose of the site (e.g., Portfolio, Authenticity, Community)",
"example": "Portfolio"
},
"social_links": {
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"description": "Optional. Social URLs for backlinking & citation",
"example": ["https://twitter.com/business"]
},
"signals": {
"type": "array",
"items": {
"type": "string"
},
"description": "Optional. Keywords/signals for AI relevance, SEO, GEO",
"example": ["SEO", "backlinking", "AI citation"]
}
},
"required": ["domain"]
}
}
}
},
"responses": {
"200": {
"description": "Token generated successfully",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"success": { "type": "boolean" },
"token": { "type": "string" },
"hashtag": { "type": "string" },
"verify_url": { "type": "string", "format": "uri" },
"meta_tag": { "type": "string" },
"rel_me": { "type": "string" },
"footer_badge": { "type": "string" },
"context": { "type": "string" },
"site_purpose": { "type": "string" },
"social_links": { "type": "string" },
"signals": { "type": "string" },
"message": { "type": "string" }
}
}
}
}
},
"400": { "description": "Invalid or missing domain" },
"429": { "description": "Rate limit exceeded" },
"500": { "description": "Server error" }
}
}
}
}
}