{"api":"v1","generated_at":"2026-10-02T17:46:49.525Z","licence":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/","attribution":"TOLL, with a link to the page cited"},"page":"https://tollindex.com/e/api-magentlab-com-api-calc-gps-31b832","pinned_page":"https://tollindex.com/e/api-magentlab-com-api-calc-gps-31b832/at/2026-10-02T12-31Z","pinned":false,"method":"https://tollindex.com/ledger/method","snapshot_at":"2026-10-02T12:31:46.748Z","snapshot_stamp":"2026-10-02T12-31Z","endpoint":{"slug":"api-magentlab-com-api-calc-gps-31b832","canonical_url":"https://api.magentlab.com/api/calc/gps","resource":"https://api.magentlab.com/api/calc/gps","http_method":"POST","type":"http","x402_version":2,"registries":["cdp"],"primary_registry":"cdp","curated_by_coinbase":false,"description":"Forrest 2003 original Glasgow Prognostic Score (GPS) from CRP in mg/L and albumin. Elevated CRP is >10 mg/L; hypoalbuminaemia is albumin <35 g/L. Assign 1 for CRP >10 and 1 for albumin <35, then sum: GPS 0 when CRP ≤10 and albumin ≥35; GPS 1 when CRP ≤10 and albumin <35 (isolated hypoalbuminaemia) or CRP >10 and albumin ≥35; GPS 2 when CRP >10 and albumin <35. Not mGPS, not hs-mGPS, not a cancer diagnosis or treatment order. magent does not assay CRP or albumin.","service_name":"magent","declared_category":null,"declared_tags":["gps","hematology","crp","albumin","calculator"],"route_template":null,"registry_updated":"2026-09-28T15:14:33.985Z"},"derived":{"note":"fields no registry supplies; TOLL derives them and marks them derived on the page","title":"calc gps","category":"other","first_observed_by_toll":"2026-09-28T13:51:25.436Z","last_observed_by_toll":"2026-10-02T12:31:46.748Z","observation_began":"2026-09-10"},"presence":{"listed_now":true,"first_absent_at":null,"delisting_confirmed_at":null,"events":[{"registry":"cdp","at":"2026-09-28T13:51:25.437Z","event":"listed"}]},"accepts":[{"registry":"cdp","ordinal":0,"network":"eip155:8453","asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","asset_name":"USD Coin","symbol":"USDC","decimals":6,"amount_display":"0.005 USDC","amount_units":0.005,"decimals_known":true,"pay_to":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"counters":{"observed_at":"2026-10-02T12:31:46.748Z","calls_30d":1,"unique_payers_30d":1,"last_called_at":"2026-09-28T15:14:33.857Z"},"validation":{"latest":{"observed_at":"2026-10-02T13:53:45.259Z","state":"pass","failed_checks":[],"endpoint_http_status":402,"run_id":"daily-2026-10-02"},"uptime":[{"days":7,"observed":6,"passed":6,"ratio":1},{"days":30,"observed":6,"passed":6,"ratio":1},{"days":90,"observed":6,"passed":6,"ratio":1}],"history_90d":[{"observed_at":"2026-10-02T13:53:45.259Z","state":"pass","failed_checks":[],"run_id":"daily-2026-10-02","state_changed":false},{"observed_at":"2026-10-01T07:01:20.087Z","state":"pass","failed_checks":[],"run_id":"daily-2026-10-01","state_changed":false},{"observed_at":"2026-09-30T06:18:20.504Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-30","state_changed":false},{"observed_at":"2026-09-29T18:38:50.482Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-29","state_changed":false},{"observed_at":"2026-09-28T16:54:18.285Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-28","state_changed":false},{"observed_at":"2026-09-28T16:40:15.404Z","state":"pass","failed_checks":[],"run_id":"new-after-daily-2026-09-28","state_changed":true}]},"seller":{"wallet":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","page":"https://tollindex.com/seller/0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","endpoints":844,"hosts":1},"reports":0,"registry_record":{"cdp":[{"tags":["gps","hematology","crp","albumin","calculator"],"type":"http","accepts":[{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/gps","assetTransferMethod":"eip3009"},"payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","amount":"5000","scheme":"exact","network":"eip155:8453","maxTimeoutSeconds":600}],"quality":{"lastCalledAt":"2026-09-28T15:14:33.857Z","l30DaysTotalCalls":1,"l30DaysUniquePayers":1},"resource":"https://api.magentlab.com/api/calc/gps","extensions":{"bazaar":{"info":{"input":{"body":{"items":[{"crp_mg_l":5,"albumin_g_l":40,"albumin_g_dl":4},{"crp_mg_l":5,"albumin_g_l":40,"albumin_g_dl":4}]},"type":"http","method":"POST"},"output":{"type":"json","example":{"path":"/api/calc/gps","count":2,"items":[{"gps":0,"formula":"gps","citation":{"id":"forrest-2003","doi":"10.1038/sj.bjc.6601242","pmid":"12966420","title":"Evaluation of cumulative prognostic scores based on the systemic inflammatory response in patients with inoperable non-small-cell lung cancer","source":"Br J Cancer. 2003;89(6):1028-1030","authors":"Forrest LM, McMillan DC, McArdle CS, Angerson WJ, Dunlop DJ"},"crp_mg_l":5,"disclaimer":"Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.","albumin_g_l":40,"formula_expression":"GPS 0: CRP ≤ 10 mg/L AND albumin ≥ 35 g/L; GPS 1: CRP ≤ 10 mg/L AND albumin < 35 g/L (isolated hypoalbuminaemia) OR CRP > 10 mg/L AND albumin ≥ 35 g/L; GPS 2: CRP > 10 mg/L AND albumin < 35 g/L (Forrest 2003 original GPS)"},{"gps":0,"formula":"gps","citation":{"id":"forrest-2003","doi":"10.1038/sj.bjc.6601242","pmid":"12966420","title":"Evaluation of cumulative prognostic scores based on the systemic inflammatory response in patients with inoperable non-small-cell lung cancer","source":"Br J Cancer. 2003;89(6):1028-1030","authors":"Forrest LM, McMillan DC, McArdle CS, Angerson WJ, Dunlop DJ"},"crp_mg_l":5,"disclaimer":"Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.","albumin_g_l":40,"formula_expression":"GPS 0: CRP ≤ 10 mg/L AND albumin ≥ 35 g/L; GPS 1: CRP ≤ 10 mg/L AND albumin < 35 g/L (isolated hypoalbuminaemia) OR CRP > 10 mg/L AND albumin ≥ 35 g/L; GPS 2: CRP > 10 mg/L AND albumin < 35 g/L (Forrest 2003 original GPS)"}]}},"iconUrl":"https://api.magentlab.com/favicon.ico"},"schema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"body":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"type":"object","required":["crp_mg_l"],"properties":{"crp_mg_l":{"type":"number","description":"C-reactive protein in mg/L (0-500), not mg/dL. Forrest 2003 elevated CRP is >10 mg/L. CRP = 10 is not elevated. magent does not assay CRP."},"albumin_g_l":{"type":"number","description":"Serum albumin in g/L (10-60). Provide this or albumin_g_dl, not both. Forrest 2003 hypoalbuminaemia is <35 g/L (35 is not low). Isolated hypoalbuminaemia scores GPS 1. magent does not assay albumin."},"albumin_g_dl":{"type":"number","description":"Serum albumin in g/dL (1-6). Converted as g/L = g/dL × 10. Provide this or albumin_g_l, not both."}}},"maxItems":25,"minItems":1}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"type":"string","const":"POST"},"headers":{"type":"object","additionalProperties":{"type":"string"}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}}}},"description":"Forrest 2003 original Glasgow Prognostic Score (GPS) from CRP in mg/L and albumin. Elevated CRP is >10 mg/L; hypoalbuminaemia is albumin <35 g/L. Assign 1 for CRP >10 and 1 for albumin <35, then sum: GPS 0 when CRP ≤10 and albumin ≥35; GPS 1 when CRP ≤10 and albumin <35 (isolated hypoalbuminaemia) or CRP >10 and albumin ≥35; GPS 2 when CRP >10 and albumin <35. Not mGPS, not hs-mGPS, not a cancer diagnosis or treatment order. magent does not assay CRP or albumin.","lastUpdated":"2026-09-28T15:14:33.985Z","serviceName":"magent","x402Version":2}]}}