API Documentation - SanalNumara.org Şeffaf fiyatlandırma, hızlı doğrulama ve güvenli işlem altyapısı.

API Documentation

TR EN

This content can be switched between Turkish and English from the footer language switch.

In this document, api_key refers to your API key. You can find this key on your profile page.

VIEWING CATEGORIES

Request URL: https://domainadresiniz.com/api/getCategories
Example Output: [{"id":1, "name": "Google"},{"id":2, "name": "Discord"}]

VIEWING SERVICES IN A CATEGORY

Request URL: https://domainadresiniz.com/api/getServices/category_id
Example Output: [{"id":"12","name":"Afghanistan","category":"1"},{"id":"11","name":"Germany","category":"1"}]

Note: You can find the category_id value in the categories list.

VIEWING SERVICE PRICE AND STOCK

Request URL: https://domainadresiniz.com/api/getServiceDetails/service_id
Example Output: {"id":"32","price":"2","stock":180}

Note: You can find the service_id value in the services list.

CHECKING USER BALANCE

Request URL: https://domainadresiniz.com/api/api_key/getBalance

Example Output: {balance: 1}

ORDERING A NUMBER

Request URL: https://domainadresiniz.com/api/api_key/getNumber/service_id

Example Output: {"success":true,"title":"","message":"","number_id":75,"number":"+77073076157"}

Store the number and number_id values from the output, as you will need them when retrieving messages.

Note: You can find the service_id value in the services list.

VIEWING MESSAGES RECEIVED BY THE NUMBER

Request URL: https://domainadresiniz.com/api/api_key/getMessage/number_id

Example Output: {"code":null,"id":"75","status":0}

If Status = 1: The message has arrived and the code is displayed.
If Status = 0: Waiting for the message.
If Status = -1: The number has been cancelled.

Note: You can find the number_id value in the output received when ordering the number.

CANCELLING THE NUMBER

Request URL: https://domainadresiniz.com/api/api_key/cancelNumber/number_id

Example Output: {"success":true, "title":"", "message":""}

If the number is cancelled within 10 minutes, the balance is refunded.

Note: You can find the number_id value in the output received when ordering the number.