-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopenapi.json
More file actions
94 lines (94 loc) · 1.97 KB
/
Copy pathopenapi.json
File metadata and controls
94 lines (94 loc) · 1.97 KB
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
{
"openapi": "3.0.3",
"info": {
"title": "Veriton HTML→JSON Agent API",
"version": "0.1.0",
"description": "Metered HTML→structured JSON for agents. Pay USDC on Base to 0xa75cc8545b169f0bef2f29c9ccf86bc686d039e8, claim credits, call endpoints. $0.02/call html body; $0.05/call fetch+extract.",
"contact": {
"email": "acer-openclaw@agentmail.to",
"name": "Veriton"
}
},
"servers": [
{
"url": "/",
"description": "this host"
}
],
"paths": {
"/health": {
"get": {
"summary": "Health",
"responses": {
"200": {
"description": "ok"
}
}
}
},
"/v1/html-to-json": {
"post": {
"summary": "Extract JSON from HTML body ($0.02)",
"security": [
{
"bearer": []
}
],
"responses": {
"200": {
"description": "extracted"
},
"402": {
"description": "payment required / buy credits"
}
}
}
},
"/v1/fetch-to-json": {
"post": {
"summary": "Fetch public URL + extract ($0.05)",
"security": [
{
"bearer": []
}
],
"responses": {
"200": {
"description": "extracted"
},
"402": {
"description": "pay"
}
}
}
},
"/v1/credits/quote": {
"post": {
"summary": "Quote a credit pack"
}
},
"/v1/credits/claim": {
"post": {
"summary": "Claim credits after Base USDC tx"
}
},
"/v1/credits/balance": {
"get": {
"summary": "Credit balance for token"
}
},
"/v1/demo/html-to-json": {
"post": {
"summary": "Free tiny demo (rate-limited, max 8KB html)"
}
}
},
"components": {
"securitySchemes": {
"bearer": {
"type": "http",
"scheme": "bearer"
}
}
}
}