Check your code
Runs in this tab. The page cannot send what you paste: its Content-Security-Policy has connect-src 'none', and nothing is stored. Leave keys out anyway; the check does not need them.
Paste the file that builds the request: the API client, the config with the base URL, or the .env. Several files at once work too; pick them together and the verdict covers all of them. Keys are not needed, so cut them out before you paste.
What the verdicts mean
| Verdict | When |
|---|---|
| One line | One base URL, set in one place, and every method, parameter and code found is in the docs. Change the URL and the key. |
| Changes in N places | Nothing breaks, but N places need an edit: the base URL written more than once, parameters the docs do not list, setStatus values other than 3, 6 and 8, POST instead of GET. |
| Needs changes | Nothing known to break, but something could not be confirmed: the base URL is not in the text, a country id or service code is not among the documented ones, or the file talks to several providers. |
| Don't migrate as is | The code calls something the API does not have. That part will break; the list says which. |
The check reads text. It does not follow imports or run anything, so a call built somewhere else is invisible to it. When in doubt it says "needs changes", never "one line".
Methods in the docs
From the public API docs at sim-aggregator.org/en/docs/api, read on 24 November 2026. One endpoint, https://sim-aggregator.org/stubs/handler_api.php, GET requests only; every method takes action and api_key.
| Method | Other parameters | Reply |
|---|---|---|
getPrices | country, service, both optional | JSON: country → service → cost, count |
getCountries | none | JSON by id: id, rus, eng, chn (the two-letter ISO code), visible, retry, rent, multiService |
getServicesList | country, optional | JSON: status, services with code and name |
getBalance | none | ACCESS_BALANCE:<amount> |
getNumber | country, service; optional duration (activation, d1, d3, d7), maxPrice and a software identifier | ACCESS_NUMBER:<id>:<number> |
getNumberV2 | same as getNumber | JSON: activationId, phoneNumber, activationCost, currency, countryCode, canGetAnotherSms, activationTime (UTC), activationOperator; refusals stay plain text |
getStatus | id | STATUS_WAIT_CODE, STATUS_OK:<code>, STATUS_WAIT_RETRY:<code>, STATUS_CANCEL, NO_ACTIVATION |
getCurrentActivationsList | none | a flat JSON array of numberid, number, status; [] when nothing is open |
setStatus | id, status: 3, 6 or 8 | ACCESS_RETRY_GET, ACCESS_ACTIVATION, ACCESS_CANCEL, EARLY_CANCEL_DENIED, BAD_STATUS |
Limits from the same page: 600 requests per minute per key, and status polling once every 2 to 5 seconds per activation. An unknown method name answers BAD_ACTION. Full reply lists are on the reference page and the error codes page.
This part will break
Code that relies on any of these needs a rewrite of that part, not a new URL:
- Rent methods:
getRentNumber,getRentStatus,setRentStatus,getRentList,getRentServicesAndCountries,continueRentNumberand therent_timeparameter. Rentals here aregetNumberwithduration=d1,d3ord7; the rental page has the flow. getFullSms:getStatusreturns the code at the end ofSTATUS_OK:<code>, not the full message text.- Multi-service orders:
getMultiServiceNumberand themultiServiceparameter.getNumbertakes one service code per order. - Every other method missing from the table, for example
getNumbersStatus,getActiveActivations,getStatusV2,getTopCountriesByService,getOperators. Stock per pair comes fromgetPrices(count), the open orders fromgetCurrentActivationsList.
Smaller things the check counts as edits: parameters the docs do not list (operator, forward, ref, phoneException and similar; max_price is spelled maxPrice), setStatus with 1 or -1, and POST requests.
Country and service codes
When the code has literal values such as country=16 or service: "tg", the check compares them with the ten country ids and ten service codes named in the docs, and marks the documented pairs that are listed in the latest daily snapshot. Anything else is not wrong by default, only unconfirmed: ids can mean a different country on another provider, so look them up with getCountries and getServicesList before you rely on them. The country ids and service codes pages list the documented ones.
How the check runs
The analyzer is one script served from this site. The page's Content-Security-Policy sets connect-src 'none', so the browser blocks any request the script could make; files are read with the browser's FileReader and nothing is stored. There is nothing to install or download: the same check works offline once the page is open.
After the check
- Fix what the list says, in a branch.
- Move the base URL and key to configuration (
SMS_API_BASE_URL,SMS_API_KEY) if they are not there yet. - Run the five staging calls from Migrate by base URL on a separate key before production traffic moves.