File size: 3,790 Bytes
6b28d58
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
{
  "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" }
        }
      }
    }
  }
}