Chemistry
Strong acid/base pH API
Computes pH/pOH of a fully dissociating strong acid or base from molar concentration, accounting for acid/base valence (e.g. H2SO4 → 2 H+). Answers 'What is the pH of 0.01 M HCl?', 'pH of 0.05 M H2SO4?'.
Price$0.04per request
MethodPOST
Route/v1/chemistry/strong-acid-base-ph
StatusLive
MIME typeapplication/json
Rate limit120/minute
Cache0s public
chemistryphstrong-acidstrong-basedissociationacid-baseconcentrationvalence
API URL
Integration docshttps://x402.hexl.dev/v1/chemistry/strong-acid-base-phExample request
{
"concentration": 0.01,
"type": "acid"
}Example response
{
"type": "acid",
"concentration": 0.01,
"valence": 1,
"effectiveIonConcentration": 0.01,
"pH": 2,
"pOH": 12,
"h": 0.01,
"oh": 1e-12,
"formula": "pH = -log10(valence·C)"
}Input schema
{
"type": "object",
"required": [
"concentration"
],
"properties": {
"concentration": {
"type": "number",
"examples": [
0.01
]
},
"type": {
"type": "string",
"examples": [
"acid",
"base"
]
},
"valence": {
"type": "number",
"examples": [
1,
2
]
}
}
}Output schema
{
"type": "object",
"additionalProperties": true
}