{"activeVersionTag":"latest","latestAvailableVersionTag":"latest","collection":{"info":{"_postman_id":"898feb92-3ae8-4198-94ee-d1667eacb256","name":"Prime number checker","description":"This API lets you quickly check whether a number up to 2^53 is prime or not.\n\nAll numbers will be factored.\n\n## Endpoints\n\nThere is only one endpoint:\n\n- [check](https://documenter.getpostman.com/view/24385138/2s8Z6yYDt2#7e88ce6a-0928-4b30-bd03-fc7c36a5b4dd)\n    \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 number |\n| 401 Unauthorized | Invalid/Missing API key |\n| 405 Method Not Allowed | Method not allowed (HEAD always allowed) |\n| 422 Unprocessable Entity | Invalid number/Number bigger than 2^53 |\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":"898feb92-3ae8-4198-94ee-d1667eacb256","publishedId":"2s8Z6yYDt2","public":true,"publicUrl":"https://documenter-api.postman.tech/view/24385138/2s8Z6yYDt2","privateUrl":"https://go.postman.co/documentation/24385138-898feb92-3ae8-4198-94ee-d1667eacb256","customColor":{"top-bar":"FFFFFF","right-sidebar":"505050","highlight":"0A3321"},"documentationLayout":"classic-single-column","customisation":{"metaTags":[{"name":"description","value":"This API lets you fastly check if a number up to 13 digits is a prime number or not"},{"name":"title","value":"Prime number checker API - M1001"}],"appearance":{"default":"dark","themes":[{"name":"dark","logo":"https://content.pstmn.io/e1e7fa8f-5cd6-42dc-a63a-d722f0b0d532/TTEwMDEucG5n","colors":{"top-bar":"212121","right-sidebar":"303030","highlight":"1ea575"}},{"name":"light","logo":"https://content.pstmn.io/28d41b4c-8a22-41a3-a945-4c3bf42f648a/TTEwMDEucG5n","colors":{"top-bar":"FFFFFF","right-sidebar":"505050","highlight":"0A3321"}}]}},"version":"8.12.8","publishDate":"2026-09-28T07:26:57.000Z","activeVersionTag":"latest","documentationTheme":"light","metaTags":{"title":"Prime number checker API - M1001","description":"This API lets you fastly check if a number up to 13 digits is a prime number or not"},"logos":{"logoLight":"https://content.pstmn.io/28d41b4c-8a22-41a3-a945-4c3bf42f648a/TTEwMDEucG5n","logoDark":"https://content.pstmn.io/e1e7fa8f-5cd6-42dc-a63a-d722f0b0d532/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/2s8Z6yYDt2"}