Catalog/chem-ppm-concentration

Chemistry

ppm and ppb concentration API

Converts a solute/solution mass pair (or a mass fraction) into ppm, ppb, mass fraction and mass percent, with the dilute-aqueous mg/L note. Answers 'What is 5 mg in 1 kg in ppm?', 'Convert a 0.0005% solution to ppb'.

Price$0.02per request
MethodPOST
Route/v1/chemistry/ppm-concentration
StatusLive
MIME typeapplication/json
Rate limit120/minute
Cache0s public
chemistryppmppbconcentrationtracemass-fractionwater-qualityanalytical
API URLhttps://x402.hexl.dev/v1/chemistry/ppm-concentration
Integration docs
Example request
{
  "soluteMass": 0.005,
  "solutionMass": 1000
}
Example response
{
  "massFraction": 0.000005,
  "massPercent": 0.0005,
  "ppm": 5,
  "ppb": 5000,
  "note": "For dilute aqueous solutions, ppm ≈ mg solute per litre of solution."
}
Input schema
{
  "type": "object",
  "properties": {
    "soluteMass": {
      "type": "number",
      "examples": [
        0.005
      ]
    },
    "solutionMass": {
      "type": "number",
      "examples": [
        1000
      ]
    },
    "massFraction": {
      "type": "number"
    }
  }
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}