API
Submit supported orders and check status from your own application. Keep your API key private.
Connection
| HTTP method | POST |
|---|---|
| API URL | https://gulfxprimesmm.com/api/v2 |
| Response | JSON |
| API key | |
Create an order
key=&action=add&service=SERVICE_ID&link=https://example.com/&quantity=100
| Parameter | Meaning |
|---|---|
key | Your private API key |
action | add |
service | Service ID from the service list |
link | Target URL or identifier required by the service |
quantity | Requested quantity within service limits |
Check order status
key=&action=status&order=ORDER_ID
Use only endpoints and actions enabled by the current GulfX installation. Do not expose API keys in client-side JavaScript or public repositories.
List services
key=&action=services
Returns the service catalogue with IDs, rates per 1,000 (USD), min/max limits and refill flags. Use these IDs in add calls. Example item:
{
"service": 1,
"name": "Example service name",
"type": "Default",
"category": "Example category",
"rate": "0.0000",
"min": 10,
"max": 100000,
"refill": true
}Check balance
key=&action=balance
Example response:
{ "balance": "0.0000", "currency": "USD" }Request a refill
key=&action=refill&order=ORDER_ID
For orders on refill services whose count dropped inside the refill window. Returns the refill ID, or an error such as Refill not allowed or Incorrect order ID.
Check refill status
key=&action=refill_status&refill=REFILL_ID
Returns the refill status, or Refill not found.
Errors
Errors return JSON with an error field. Common causes: wrong or empty key, unknown service ID, quantity outside the service min/max, missing or malformed link, insufficient balance, rate limit (API rate limit exceeded. Try again shortly.), or an IP address not allowed for your key (This IP address is not allowed for this API key.). Always check for error before treating a response as success, and never retry an add blindly — check status first to avoid duplicate orders.
Notes for resellers
- Service IDs, rates and limits come from
action=services(or the public services page) — cache them, but re-check rates before large orders; supplier costs change. - Refill availability is per service (the
refillflag in the services response). Do not promise your customers a refill the service does not carry. - Drip-feed orders accept
runsandintervalparameters onaddwhere the service supports them. - Deposits over $10 earn 3% extra balance. Child panels are $5/month flat — see Reseller.
- Use only endpoints and actions enabled by the current GulfX installation. Do not expose API keys in client-side JavaScript or public repositories.
