API integration

Manage your API key and validate integration.

Your API Key

Name:
Inactive
Key prefix:
Created at:
Last used: Never
Usage
Base URL:
https://api.profeex.io/api/v1
Add the following header to your requests:
X-API-Key: YOUR_API_KEY

Quickstart

1. Grab an API key

Create a new API key and store it securely.

2. Whitelist your IP

Ask your manager to whitelist the IP addresses you will use.

3. Check the balance

Call `/balance` with the API key to confirm access.

4. Delegate energy

Use `/delegation/buyenergy` to rent the required energy.

Sandbox

Request test keys and validate integrations against the Tron Nile testnet.

• Prefunded wallets refreshed with energy every four hours.

• Dedicated event queue plus webhook playground.

• 20k requests per day cap.

REST endpoints

All requests require `Authorization: Bearer <key>`.

Core operations

Check balances, activate addresses and review order history.

GET/balance

Fetch current TRX and USDT balances for the authenticated user.

POST/activation/activate

Request activation of a TRON address before delegating to it.

GET/orders/history

Retrieve paginated history of delegation orders.

Resource delegation

Primary calls for purchasing energy and bandwidth.

POST/delegation/buyenergy

Queue an energy delegation request for the specified address.

POST/delegation/buybandwidth

Queue a bandwidth delegation request.

Cost estimation

Run pricing and fee calculations before executing delegations.

GET/delegation/precount/energy

Calculate the estimated cost for an energy delegation.

GET/delegation/precount/bandwidth

Calculate the estimated cost for a bandwidth delegation.

GET/delegation/fee

Estimate energy usage and TRX burn required for a USDT transfer.

Snippets SDK

Use the official libraries or import the Postman collection.