AccsmarketX
EN
Sign inRegister

Developer API

Read stock, prices and orders and buy accounts from your own scripts, bots or shop. Every reply is JSON.

Quick start

Base address

https://api.accsmarketx.com/api/v1/developer

Authentication

Send your API key in the X-API-Key header of every request. You create the key in your account, under Developer API.

Keep the key secret: never put it in a public repository or in code that runs in a browser.

curl -X GET "https://api.accsmarketx.com/api/v1/developer/balance" \
  -H "X-API-Key: YOUR_API_KEY_HERE"

Rate limits

Each group of endpoints allows 60 requests a minute from one address: the balance, the data endpoints (categories, products, orders) and buying. More than that answers 429 Too Many Requests.

GET

/api/v1/developer/balance

Wallet balance

Your wallet balance at this moment.

curl -X GET "https://api.accsmarketx.com/api/v1/developer/balance" \
  -H "X-API-Key: YOUR_API_KEY_HERE"

Example reply

{
  "statusCode": 200,
  "data": {
    "balance": 150.75
  },
  "message": "Balance retrieved successfully",
  "success": true
}
GET

/api/v1/developer/categories

Categories

All active categories with name, slug and icon, in the shop's order.

curl -X GET "https://api.accsmarketx.com/api/v1/developer/categories" \
  -H "X-API-Key: YOUR_API_KEY_HERE"

Example reply

{
  "statusCode": 200,
  "data": [
    {
      "name": "Telegram",
      "slug": "telegram",
      "iconUrl": "https://files.example.com/icons/demo.webp",
      "order": 1
    },
    {
      "name": "Gmail / Google",
      "slug": "gmail",
      "iconUrl": "https://files.example.com/icons/demo.webp",
      "order": 2
    }
  ],
  "message": "Categories retrieved successfully",
  "success": true
}
GET

/api/v1/developer/products

All products

The live listings of all categories, 20 per page. pricePerProduct already includes the listing's discount, and stock is the number you can buy now.

ParameterTypeRequiredDescription
pageNumber, in the addressOptionalPage number, from 1 (default 1).
categoryString, in the addressOptionalOnly this category, by its slug (for example gmail).
searchString, in the addressOptionalOnly listings whose title contains this text, at most 100 characters.
curl -X GET "https://api.accsmarketx.com/api/v1/developer/products?page=1" \
  -H "X-API-Key: YOUR_API_KEY_HERE"

Example reply

{
  "statusCode": 200,
  "data": {
    "products": [
      {
        "id": "6a28efbf223003dee8cf6c97",
        "batchId": 4892152,
        "service": "telegram",
        "pricePerProduct": 2.50,
        "discount": 0,
        "warrantyHours": 24,
        "accountFormat": "Phone:Session",
        "accountAge": "2022",
        "countryOfOrigin": "USA",
        "preorderEnabled": true,
        "stock": 42,
        "seller": "Demo Store",
        "content": {
          "title": "Telegram Aged Accounts",
          "oneLinerDescription": "High quality TData & Session+Json Telegram accounts.",
          "description": "Full uncompressed description text..."
        }
      }
    ],
    "pagination": { "page": 1, "limit": 20, "totalPages": 1, "totalItems": 1 }
  },
  "message": "Products retrieved successfully",
  "success": true
}
GET

/api/v1/developer/products/category

Products of one category

The live listings of one category, 20 per page. The same list answers at /products/category/{slug}.

ParameterTypeRequiredDescription
categoryString, in the addressOptionalThe category slug, for example gmail, telegram or software.
pageNumber, in the addressOptionalPage number, from 1 (default 1).
curl -X GET "https://api.accsmarketx.com/api/v1/developer/products/category?category=gmail&page=1" \
  -H "X-API-Key: YOUR_API_KEY_HERE"

Example reply

{
  "statusCode": 200,
  "data": {
    "products": [
      {
        "id": "6a28efbf223003dee8cf6c97",
        "batchId": 3731693,
        "service": "gmail",
        "pricePerProduct": 1.20,
        "stock": 150,
        "seller": "Demo Store",
        "content": {
          "title": "Gmail PVA 2023 Aged Accounts",
          "description": "Full uncompressed description..."
        }
      }
    ],
    "pagination": { "page": 1, "limit": 20, "totalPages": 1, "totalItems": 1 }
  },
  "message": "Products retrieved successfully",
  "success": true
}
GET

/api/v1/developer/products?batchID=

One product

One listing with its full description, by its number. The same listing answers at /products/{batchID}.

ParameterTypeRequiredDescription
batchIDNumber, in the addressRequiredThe listing's number, for example 3731693.
curl -X GET "https://api.accsmarketx.com/api/v1/developer/products?batchID=3731693" \
  -H "X-API-Key: YOUR_API_KEY_HERE"

Example reply

{
  "statusCode": 200,
  "data": {
    "id": "6a28efbf223003dee8cf6c97",
    "batchId": 3731693,
    "service": "gmail",
    "pricePerProduct": 1.20,
    "discount": 0,
    "warrantyHours": 48,
    "accountFormat": "Email:Password:RecoveryEmail",
    "accountAge": "6+ months",
    "countryOfOrigin": "Mixed",
    "stock": 150,
    "seller": "Demo Store",
    "content": {
      "title": "Gmail PVA 2023 Aged Accounts",
      "oneLinerDescription": "High trust Gmail accounts with recovery email.",
      "description": "Full uncompressed HTML/text description...",
      "features": "• 2FA Included\\n• Recovery Email set",
      "accordionContent": [
        { "title": "How to use", "description": "Download portable browser..." }
      ]
    }
  },
  "message": "Product retrieved successfully",
  "success": true
}
POST

/api/v1/developer/buy

Place an order

Pays from your wallet, takes the accounts from stock and writes the order in one step. It answers 201 Created with the order; read its accounts with “One order”.

ParameterTypeRequiredDescription
batch_idString, in the JSON bodyRequiredThe listing's id from the product replies (not its number).
total_productsNumber, in the JSON bodyRequiredHow many accounts, from 1 to 100000.
coupon_codeString, in the JSON bodyOptionalA coupon code, if you have one.
curl -X POST "https://api.accsmarketx.com/api/v1/developer/buy" \
  -H "X-API-Key: YOUR_API_KEY_HERE" \
  -H "Content-Type: application/json" \
  -d '{
    "batch_id": "6a28efbf223003dee8cf6c97",
    "total_products": 1
  }'

Example reply

{
  "success": true,
  "message": "Order placed successfully",
  "order": {
    "batch_id": "6a28efbf223003dee8cf6c97",
    "total_products": 1,
    "total_price": 2.5,
    "price_per_product": 2.5,
    "orderId": "58AE95EE",
    "coupon_info": null,
    "createdAt": "2026-08-04T16:00:00.000Z",
    "updatedAt": "2026-08-04T16:00:00.000Z"
  }
}
GET

/api/v1/developer/orders

Order history

Your orders, newest first, 10 per page.

ParameterTypeRequiredDescription
pageNumber, in the addressOptionalPage number, from 1 (default 1).
startDateString, in the addressOptionalOnly orders from this day on, as YYYY-MM-DD (UTC).
endDateString, in the addressOptionalOnly orders up to this day, as YYYY-MM-DD (UTC).
curl -X GET "https://api.accsmarketx.com/api/v1/developer/orders?page=1" \
  -H "X-API-Key: YOUR_API_KEY_HERE"

Example reply

{
  "statusCode": 200,
  "data": {
    "orders": [
      {
        "orderId": "58AE95EE",
        "total_products": 1,
        "total_price": 2.50,
        "price_per_product": 2.50,
        "createdAt": "2026-08-04T16:00:00.000Z"
      }
    ],
    "pagination": { "page": 1, "limit": 10, "totalPages": 1, "totalItems": 1 }
  },
  "message": "Orders retrieved successfully",
  "success": true
}
GET

/api/v1/developer/orders?order=

One order

One of your orders with its accounts, by order id.

ParameterTypeRequiredDescription
orderString, in the addressRequiredThe order id, for example 58AE95EE.
curl -X GET "https://api.accsmarketx.com/api/v1/developer/orders?order=58AE95EE" \
  -H "X-API-Key: YOUR_API_KEY_HERE"

Example reply

{
  "statusCode": 200,
  "data": {
    "orderId": "58AE95EE",
    "batch_id": { "batchId": 3731693, "content": { "title": "Demo listing", "oneLinerDescription": "Made-up example." } },
    "total_products": 1,
    "total_price": 2.50,
    "price_per_product": 2.50,
    "products": [
      "username:password:[email protected]"
    ],
    "createdAt": "2026-08-04T16:00:00.000Z"
  },
  "message": "Order retrieved successfully",
  "success": true
}

Errors and status codes

Errors answer with a status code and a JSON body whose message says what went wrong. Only 429 (too many requests) answers with plain text.

200 OKThe request was done.
201 CreatedThe order was placed.
400 Bad RequestA value is missing or wrong, there is not enough stock or wallet balance, or the coupon cannot be used.
401 UnauthorizedThe X-API-Key header is missing, the key is not valid, or your account is banned.
403 ForbiddenOrdering is paused for maintenance, or the listing's seller is suspended.
404 Not FoundThe product or order does not exist, or the order is not yours.
429 Too Many RequestsMore than 60 requests a minute from your address for that group of endpoints.
500 Server ErrorSomething went wrong on our side. Try again, and contact support if it continues.