Explore and test our API endpoints
All API requests require authentication using an API key. Your API key should be included in the X-API-KEY
header of each request.
Keep your API key secure. Do not share it in public repositories or client-side code.
For testing purposes, your API key will be securely stored in your browser's session storage.
Returns a list of all active products with their available variants, including pricing information.
{ "status": "success", "data": [ { "id": "integer", "name": "string", "type": "string (manual|automatic)", "variants": [ { "name": "string", "reseller_buy_price": "float", "sell_price": "float", "is_available": "boolean" } ] } ] }
Requires API key in X-API-KEY header
curl -X GET "https://api.wasmou.net/api/products" \ -H "X-API-KEY: your_api_key" \ -H "Accept: application/json"
Get details of a specific product
Retrieves detailed information about a specific product by its ID, including variants and pricing.
id
- Product ID (required)
Requires API key in X-API-KEY header
{ "status": "success", "data": { "id": "integer", "name": "string", "type": "string (manual|automatic)", "variants": [ { "id": "integer", "name": "string", "reseller_buy_price": "float", "sell_price": "float", "is_available": "boolean" } ] } }
curl -X GET "https://api.wasmou.net/api/products/123" \ -H "X-API-KEY: your_api_key" \ -H "Accept: application/json"
Purchase a product variant
Purchase a specific product variant. Supports both manual and automatic delivery types.
product_id
- Product ID (required)
variant_id
- Variant ID (required)
quantity
- Number of items to purchase (required, min: 1)
Requires API key in X-API-KEY header
{ "status": "success", "message": "Purchase successful", "data": { "purchased_items": [ { "id": "integer", "order_url": "string", "status": "string" } ] } }
curl -X POST "https://api.wasmou.net/api/products/123/456/purchase" \ -H "X-API-KEY: your_api_key" \ -H "Accept: application/json" \ -H "Content-Type: application/json" \ -d '{"quantity": 1}'
Get your purchase history
Retrieves a list of all purchases made by the authenticated user.
For manual orders, the key will only be included in the response if the order status is 'completed' or 'delivered'. For orders with status 'pending' or 'canceled', the key will be null.
{ "status": "success", "data": [ { "id": "integer", "product_name": "string", "variant_name": "string", "key": "string|null", // null for manual orders with status other than 'completed' or 'delivered' "price": "float", "type": "string (manual|regular)", "status": "string (completed|delivered|pending|canceled)", "created_at": "datetime" } ] }
Requires API key in X-API-KEY header
curl -X GET "https://api.wasmou.net/api/purchase-history" \ -H "X-API-KEY: your_api_key" \ -H "Accept: application/json"
Get details of a specific order
Retrieves detailed information about a specific order by its ID.
For manual orders, the key will only be included in the response if the order status is 'completed' or 'delivered'. For orders with status 'pending' or 'canceled', the key field will not be included, but notes will still be available.
order_id
- Order ID (required)
{ "status": "success", "data": { "id": "integer", "product_name": "string", "variant_name": "string", "price": "float", "key": "string|null", // Only included for automatic orders or manual orders with status 'completed' or 'delivered' "type": "string (manual|automatic)", "status": "string (completed|delivered|pending|canceled)", "created_at": "datetime", "notes": "string|null" // Only for manual orders } }
Requires API key in X-API-KEY header
curl -X GET "https://api.wasmou.net/api/orders/123" \ -H "X-API-KEY: your_api_key" \ -H "Accept: application/json"
The Free Fire API allows you to programmatically check player IDs, get available plans, and process top-ups for Free Fire game diamonds.
Get all available Free Fire diamond plans.
{ "status": "success", "data": [ { "id": 1, "plan_id": "ff_100", "item_id": "123456", "plan_name": "Free Fire 100 Diamonds", "plan_price": 100.00, "reseller_price": 95.00 }, // ... more plans ] }
curl -X GET "https://api.wasmou.net/api/freefire/plans" \ -H "X-API-KEY: your_api_key" \ -H "Accept: application/json"
Check if a Free Fire player ID exists and get the player name.
Parameter | Type | Required | Description |
---|---|---|---|
player_id | string | Yes | The Free Fire player ID to check |
{ "status": "success", "data": { "player_name": "PlayerName123", "region": "Region" } }
curl -X POST "https://api.wasmou.net/api/freefire/check-player" \ -H "X-API-KEY: your_api_key" \ -H "Content-Type: application/json" \ -H "Accept: application/json" \ -d '{"player_id": "123456789"}'
Process a Free Fire diamond top-up for a player.
Parameter | Type | Required | Description |
---|---|---|---|
player_id | string | Yes | The Free Fire player ID |
plan_id | string | Yes | The plan ID from the available plans |
{ "status": "success", "message": "Top-up order placed successfully", "data": { "order_id": 123, "transaction_id": "uuid-string", "player_id": "123456789", "player_name": "PlayerName123", "plan_name": "Free Fire 100 Diamonds", "amount": 100.00, "status": "pending", "created_at": "2023-01-01 12:00:00" } }
curl -X POST "https://api.wasmou.net/api/freefire/topup" \ -H "X-API-KEY: your_api_key" \ -H "Content-Type: application/json" \ -H "Accept: application/json" \ -d '{ "player_id": "123456789", "plan_id": "ff_100" }'
Check the status of a Free Fire top-up order.
{ "status": "success", "data": { "order_id": 123, "transaction_id": "uuid-string", "player_id": "123456789", "player_name": "PlayerName123", "plan_name": "Free Fire 100 Diamonds", "amount": 100.00, "status": "success|pending|failed", "created_at": "2023-01-01 12:00:00" } }
curl -X GET "https://api.wasmou.net/api/freefire/orders/123" \ -H "X-API-KEY: your_api_key" \ -H "Accept: application/json"
Get the history of all Free Fire top-up orders.
{ "status": "success", "data": [ { "order_id": 123, "transaction_id": "uuid-string", "player_id": "123456789", "player_name": "PlayerName123", "plan_name": "Free Fire 100 Diamonds", "amount": 100.00, "status": "success|pending|failed", "created_at": "2023-01-01 12:00:00" }, // ... more orders ] }
curl -X GET "https://api.wasmou.net/api/freefire/orders" \ -H "X-API-KEY: your_api_key" \ -H "Accept: application/json"
Get your current account balance
Retrieves the current balance of the authenticated user's account.
{ "status": "success", "data": { "balance": "float", "currency": "string" } }
Requires API key in X-API-KEY header
curl -X GET "https://api.wasmou.net/api/account/balance" \ -H "X-API-KEY: your_api_key" \ -H "Accept: application/json"
Check availability of multiple variants at once
Checks the availability status of multiple product variants in a single request. This is useful for efficiently checking stock levels before making purchase decisions.
{ "variants": [1, 2, 3, 4] // Array of variant IDs to check }
{ "status": "success", "data": [ { "id": 1, "product_id": 123, "name": "Variant Name", "product_name": "Product Name", "is_available": true, }, // More variants... ] }
Requires API key in X-API-KEY header
curl -X POST "https://api.wasmou.net/api/variants/check-availability" \ -H "X-API-KEY: your_api_key" \ -H "Accept: application/json" \ -H "Content-Type: application/json" \ -d '{"variants": [1, 2, 3, 4]}'
Our API implements rate limiting to protect against abuse. The current limits are:
If you exceed these limits, you'll receive a 429 Too Many Requests response.