Utilities
Small integer factorization API
Factor a safe integer up to 1e12 with bounded local trial division for cryptography and puzzle workloads.
Price$0.01per request
MethodPOST
Route/v1/math/factor
StatusLive
MIME typeapplication/json
Rate limit120/minute
CacheNo cache
mathfactorfactorizationcryptography
API URL
Integration docshttps://x402.hexl.dev/v1/math/factorExample request
{
"value": 84
}Example response
{
"value": 84,
"factors": [
2,
2,
3,
7
],
"provider": "local-bounded-number-theory"
}Input schema
{
"type": "object",
"required": [
"value"
],
"properties": {
"value": {
"anyOf": [
{
"type": "number"
},
{
"type": "string"
}
]
}
}
}Output schema
{
"type": "object",
"additionalProperties": true
}