AGI API instructions

Data is transferred in JSON format and compressed using the gzip algorithm. Communication between systems is encrypted using the USL3 layer.

Communication examples

You can easily request data in your browser by calling the URL: Domain/api?request=...
You can use the Curl, Go, Python library and others.

Parameter overview

parameter type method description example
request string GET Request type register, ask, define, context, explain, code, image, info
level integer GET Number of brains for thinking 1-12
price integer GET Maximum price per response 0-1000
prompt string POST Your prompt Tell me what you know about God.
token string POST Your service token (for registered) 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa
card integer POST Valid card number for Free register 4769414656134752
card_br string POST Card brand VISA
card_em integer POST Card expiry month 10
card_ey integer POST Card expiry year 2029
card_cv integer POST Card CVV/CVC 465
name string POST Valid name John Pedro
country string POST Valid country Argentina
email string POST Valid email address to get the token my.email@example.com

System response structure

{
	"status": true, // status
	"code": 200,    // response code
	"msg": "OK",    // server message
	"data": [       // response data
		...
	]
}
			

And here is a API status page and back link.