{"activeVersionTag":"latest","latestAvailableVersionTag":"latest","collection":{"info":{"_postman_id":"6eb76522-e22a-445d-93d4-d9593207642a","name":"Number randomizer","description":"This API lets you quickly randomize numbers in one of the following numeral systems: **decimal**, **hexadecimal**, **binary** and **octal**.\n\n## Endpoints\n\nThere is one endpoint for each numeral system:\n\n- [dec](https://documenter.getpostman.com/view/24385138/2s93CSnANy#35bc0405-8ea3-4a23-a975-55e050a546fc)\n    \n- [hex](https://documenter.getpostman.com/view/24385138/2s93CSnANy#6c3d81a4-0044-4d66-b69c-7f03623a392e)\n    \n- [bin](https://documenter.getpostman.com/view/24385138/2s93CSnANy#35bf8529-7287-4b37-9f53-204781c01132)\n    \n- [oct](https://documenter.getpostman.com/view/24385138/2s93CSnANy#28ebdfa9-20ac-4820-bb2c-dc0e073ed54f)\n    \n\n## General rules\n\n- All numbers must be _integers_.\n    \n- It is allowed only to use the _minus sign_ at the start of the string, _no plus signs_ allowed.\n    \n- In the case you provide _only the maximum (respectively minimum)_ number, it must be _\\> 0_ and the _minimum (respectively maximum) one will be set to 0_.\n    \n- In the case you provide a minimum number higher than the maximum one, _they will be exchanged_.\n    \n- The default values for \"**base_10_params**\" and \"**amount**\" are respectively \"**false**\" and \"**1**\".\n    \n- Negative not base-10 numbers will be treated _as base-10 ones are_, any signed number representation system won't be used to avoid duplication of possibilities.\n    \n- Since _JSON numbers_ are supposed to be _only in the decimal numeral system_, the endpoints other than \"**dec**\" return the numbers as strings.\n    \n- All numbers must have an absolute value _lower than 10^18_ for the decimal numeral system and lower than the equivalents for the others.  \n    Maximum values for the _other numeral systems_:\n    \n    - Hex => DE0B6B3A763FFFF\n        \n    - Bin => 110111100000101101101011001110100111011000111111111111111111\n        \n    - Oct => 67405553164730777777\n        \n\n#### So **both minimum and maximum** numbers must be (or be equivalent to a base-10 number) **beetween -10^18 and 10^18**.\n\n### How to take more values at a time\n\nYou can also take more values at a time adding the \"**amount**\" query parameter and instead of an usual JSON response:\n\n> {\"result\":-48952} \n  \n\nyou will receive one like this:\n\n> {\"result\":\\[47580,5617,-90911,-47395,-92912\\]} \n  \n\n**Be aware**: the \"**amount**\" parameter must be a positive integer _up to 50000_.\n\n## Auth\n\nYou must provide a valid **Bearer token** in the **headers** to use the service.\n\nFollow the [auth documentation](https://documenter.getpostman.com/view/24385138/2s8ZDcyf51) to obtain one.\n\n## Response codes\n\n| **Status code** | **Description** |\n| --- | --- |\n| 200 OK | All just went in the right way |\n| 400 Bad Request | Missing required numeric parameter |\n| 401 Unauthorized | Invalid/Missing API key |\n| 405 Method Not Allowed | Method not allowed (HEAD always allowed) |\n| 422 Unprocessable Entity | Invalid parameter(s) |\n\n``` Markup\n88b       d88      88     ,a8888a,        ,a8888a,         88\n888b     d888   ,d888   ,8P\"'  `\"Y8,    ,8P\"'  `\"Y8,    ,d888\n88`8b   d8'88  88\" 88  ,8P        Y8,  ,8P        Y8,  88\" 88\n88 `8b d8' 88      88  88          88  88          88      88\n88  `888'  88      88  88          88  88          88      88\n88   `8'   88      88  `8b        d8'  `8b        d8'      88\n88         88      88   `8ba,  ,ad8'    `8ba,  ,ad8'       88\n88         88      88     \"Y8888P\"        \"Y8888P\"         88\n\n ```","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","isPublicCollection":false,"owner":"24385138","team":13863443,"collectionId":"6eb76522-e22a-445d-93d4-d9593207642a","publishedId":"2s93CSnANy","public":true,"publicUrl":"https://documenter-api.postman.tech/view/24385138/2s93CSnANy","privateUrl":"https://go.postman.co/documentation/24385138-6eb76522-e22a-445d-93d4-d9593207642a","customColor":{"top-bar":"FFFFFF","right-sidebar":"505050","highlight":"0A3321"},"documentationLayout":"classic-single-column","customisation":{"metaTags":[{"name":"description","value":"This API lets you fastly randomize numbers in one of the following numeral systems: decimal, hexadecimal, binary and octal"},{"name":"title","value":"Number randomizer API - M1001"}],"appearance":{"default":"dark","themes":[{"name":"dark","logo":"https://content.pstmn.io/19dc799f-40f8-4128-8317-5a5fec030830/TTEwMDEucG5n","colors":{"top-bar":"212121","right-sidebar":"303030","highlight":"1ea575"}},{"name":"light","logo":"https://content.pstmn.io/10da660d-6e17-4edf-991f-20ae527c6610/TTEwMDEucG5n","colors":{"top-bar":"FFFFFF","right-sidebar":"505050","highlight":"0A3321"}}]}},"version":"8.12.8","publishDate":"2026-09-28T07:24:26.000Z","activeVersionTag":"latest","documentationTheme":"light","metaTags":{"title":"Number randomizer API - M1001","description":"This API lets you fastly randomize numbers in one of the following numeral systems: decimal, hexadecimal, binary and octal"},"logos":{"logoLight":"https://content.pstmn.io/10da660d-6e17-4edf-991f-20ae527c6610/TTEwMDEucG5n","logoDark":"https://content.pstmn.io/19dc799f-40f8-4128-8317-5a5fec030830/TTEwMDEucG5n"}},"statusCode":200},"environments":[],"user":{"authenticated":false,"permissions":{"publish":false}},"run":{"button":{"js":"https://run.pstmn.io/button.js","css":"https://run.pstmn.io/button.css"}},"web":"https://www.getpostman.com/","team":{"logo":"https://res.cloudinary.com/postman/image/upload/t_team_logo_pubdoc/v1/team/1890099a36fabd4c5a7a8833ec0119d294d79a01c80a692a26dfba8121e85d11","favicon":"https://res.cloudinary.com/postman/image/upload/v1772127507/team/64d794051a63391d73dba3944a67aef5.ico"},"isEnvFetchError":false,"languages":"[{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"HttpClient\"},{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"RestSharp\"},{\"key\":\"curl\",\"label\":\"cURL\",\"variant\":\"cURL\"},{\"key\":\"dart\",\"label\":\"Dart\",\"variant\":\"http\"},{\"key\":\"go\",\"label\":\"Go\",\"variant\":\"Native\"},{\"key\":\"http\",\"label\":\"HTTP\",\"variant\":\"HTTP\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"OkHttp\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"Unirest\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"Fetch\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"jQuery\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"XHR\"},{\"key\":\"c\",\"label\":\"C\",\"variant\":\"libcurl\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Axios\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Native\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Request\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Unirest\"},{\"key\":\"objective-c\",\"label\":\"Objective-C\",\"variant\":\"NSURLSession\"},{\"key\":\"ocaml\",\"label\":\"OCaml\",\"variant\":\"Cohttp\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"cURL\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"Guzzle\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"HTTP_Request2\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"pecl_http\"},{\"key\":\"powershell\",\"label\":\"PowerShell\",\"variant\":\"RestMethod\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"http.client\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"Requests\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"httr\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"RCurl\"},{\"key\":\"ruby\",\"label\":\"Ruby\",\"variant\":\"Net::HTTP\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"Httpie\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"wget\"},{\"key\":\"swift\",\"label\":\"Swift\",\"variant\":\"URLSession\"}]","languageSettings":[{"key":"csharp","label":"C#","variant":"HttpClient"},{"key":"csharp","label":"C#","variant":"RestSharp"},{"key":"curl","label":"cURL","variant":"cURL"},{"key":"dart","label":"Dart","variant":"http"},{"key":"go","label":"Go","variant":"Native"},{"key":"http","label":"HTTP","variant":"HTTP"},{"key":"java","label":"Java","variant":"OkHttp"},{"key":"java","label":"Java","variant":"Unirest"},{"key":"javascript","label":"JavaScript","variant":"Fetch"},{"key":"javascript","label":"JavaScript","variant":"jQuery"},{"key":"javascript","label":"JavaScript","variant":"XHR"},{"key":"c","label":"C","variant":"libcurl"},{"key":"nodejs","label":"NodeJs","variant":"Axios"},{"key":"nodejs","label":"NodeJs","variant":"Native"},{"key":"nodejs","label":"NodeJs","variant":"Request"},{"key":"nodejs","label":"NodeJs","variant":"Unirest"},{"key":"objective-c","label":"Objective-C","variant":"NSURLSession"},{"key":"ocaml","label":"OCaml","variant":"Cohttp"},{"key":"php","label":"PHP","variant":"cURL"},{"key":"php","label":"PHP","variant":"Guzzle"},{"key":"php","label":"PHP","variant":"HTTP_Request2"},{"key":"php","label":"PHP","variant":"pecl_http"},{"key":"powershell","label":"PowerShell","variant":"RestMethod"},{"key":"python","label":"Python","variant":"http.client"},{"key":"python","label":"Python","variant":"Requests"},{"key":"r","label":"R","variant":"httr"},{"key":"r","label":"R","variant":"RCurl"},{"key":"ruby","label":"Ruby","variant":"Net::HTTP"},{"key":"shell","label":"Shell","variant":"Httpie"},{"key":"shell","label":"Shell","variant":"wget"},{"key":"swift","label":"Swift","variant":"URLSession"}],"languageOptions":[{"label":"C# - HttpClient","value":"csharp - HttpClient - C#"},{"label":"C# - RestSharp","value":"csharp - RestSharp - C#"},{"label":"cURL - cURL","value":"curl - cURL - cURL"},{"label":"Dart - http","value":"dart - http - Dart"},{"label":"Go - Native","value":"go - Native - Go"},{"label":"HTTP - HTTP","value":"http - HTTP - HTTP"},{"label":"Java - OkHttp","value":"java - OkHttp - Java"},{"label":"Java - Unirest","value":"java - Unirest - Java"},{"label":"JavaScript - Fetch","value":"javascript - Fetch - JavaScript"},{"label":"JavaScript - jQuery","value":"javascript - jQuery - JavaScript"},{"label":"JavaScript - XHR","value":"javascript - XHR - JavaScript"},{"label":"C - libcurl","value":"c - libcurl - C"},{"label":"NodeJs - Axios","value":"nodejs - Axios - NodeJs"},{"label":"NodeJs - Native","value":"nodejs - Native - NodeJs"},{"label":"NodeJs - Request","value":"nodejs - Request - NodeJs"},{"label":"NodeJs - Unirest","value":"nodejs - Unirest - NodeJs"},{"label":"Objective-C - NSURLSession","value":"objective-c - NSURLSession - Objective-C"},{"label":"OCaml - Cohttp","value":"ocaml - Cohttp - OCaml"},{"label":"PHP - cURL","value":"php - cURL - PHP"},{"label":"PHP - Guzzle","value":"php - Guzzle - PHP"},{"label":"PHP - HTTP_Request2","value":"php - HTTP_Request2 - PHP"},{"label":"PHP - pecl_http","value":"php - pecl_http - PHP"},{"label":"PowerShell - RestMethod","value":"powershell - RestMethod - PowerShell"},{"label":"Python - http.client","value":"python - http.client - Python"},{"label":"Python - Requests","value":"python - Requests - Python"},{"label":"R - httr","value":"r - httr - R"},{"label":"R - RCurl","value":"r - RCurl - R"},{"label":"Ruby - Net::HTTP","value":"ruby - Net::HTTP - Ruby"},{"label":"Shell - Httpie","value":"shell - Httpie - Shell"},{"label":"Shell - wget","value":"shell - wget - Shell"},{"label":"Swift - URLSession","value":"swift - URLSession - Swift"}],"layoutOptions":[{"value":"classic-single-column","label":"Single Column"},{"value":"classic-double-column","label":"Double Column"}],"versionOptions":[],"environmentOptions":[{"value":"0","label":"No Environment"}],"canonicalUrl":"https://documenter.gw.postman.com/view/metadata/2s93CSnANy"}