API endpoint:
https://checkmysite.ir/api/v1/ai/feature-check
Request example:
curl --location --request GET 'https://checkmysite.ir/api/v1/ai/feature-check' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
API endpoint:
https://checkmysite.ir/api/v1/ai/balance
Request example:
curl --location --request GET 'https://checkmysite.ir/api/v1/ai/balance' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
API endpoint:
https://checkmysite.ir/api/v1/ai/estimate
Request example:
curl --location --request POST 'https://checkmysite.ir/api/v1/ai/estimate' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}' \ --data-raw '{"type": "text", "options": {}}'
Parameters:
typetext, article, image, meta, title, description, other.optionsAPI endpoint:
https://checkmysite.ir/api/v1/ai/generate
Request example:
curl --location --request POST 'https://checkmysite.ir/api/v1/ai/generate' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}' \ --data-raw '{"type": "text", "prompt": "Write a short poem", "confirm_cost": true}'
Parameters:
typetext, article, image, meta, title, description.promptoptionsconfirm_costtrue to confirm the estimated cost and proceed with generation. If not set, the API returns the estimated cost without generating.API endpoint:
https://checkmysite.ir/api/v1/ai/packages
Request example:
curl --location --request GET 'https://checkmysite.ir/api/v1/ai/packages' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
API endpoint:
https://checkmysite.ir/api/v1/ai/purchase
Request example:
curl --location --request POST 'https://checkmysite.ir/api/v1/ai/purchase' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}' \ --data-raw '{"package_id": 1}'
Parameters:
package_idAPI endpoint:
https://checkmysite.ir/api/v1/ai/transactions
Request example:
curl --location --request GET 'https://checkmysite.ir/api/v1/ai/transactions' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
Parameters:
typepurchase, usage, plan_reset, refund, admin_adjustment.limit20.page1.API endpoint:
https://checkmysite.ir/api/v1/ai/history
Request example:
curl --location --request GET 'https://checkmysite.ir/api/v1/ai/history' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
Parameters:
typetext, article, image, meta, title, description.limit20.page1.