API
API Errors
GitHub: https://github.com/P2B-team/p2b-api-docs/blob/master/errors.md Errors: Category Error code Status Code Response message Description auth 1001 401 Key not provided. X-TXC-APIKEY header is missing in the request or empty. auth 1002 401 Payload ...
Details of API Response
GitHub: https://github.com/P2B-team/p2b-api-docs/blob/master/resources.md Resources Balances "{{currency}}": { "available": "Currency amount available for trading.", "freeze": "Amount frozen during operations." } {{currency}} - currency token on ...
WebSocket API Documentation
GitHub: https://github.com/P2B-team/P2B-WSS-Public/blob/main/wss_documentation.md General information The base endpoint is: wss://apiws.p2pb2b.com/ Connection will be closed by server in cause of inactivity after 100 seconds. JSON Structure of ...
API Documentation
GitHub: https://github.com/P2B-team/p2b-api-docs/blob/master/api-doc.md Rest API for P2B API Information Base URL for requests is https://api.p2pb2b.com API Endpoints Possible errors when executing queries: Possible error Public Public folder ...
How to enable API?
Note: API can be enabled with enabled 2FA in the account. 1. Go to your [Account] page. 2. Choose [API Management]. 3. Click the [Generate New Key] button. 4. You will see generated key and secret, to enable them, click the button. Now you can use ...