{"api":"v1","generated_at":"2026-09-15T23:43:36.217Z","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/promptqualityscore-com-api-pqs-grade-3e0739","pinned_page":"https://tollindex.com/e/promptqualityscore-com-api-pqs-grade-3e0739/at/2026-09-15T21-20Z","pinned":false,"method":"https://tollindex.com/ledger/method","snapshot_at":"2026-09-15T21:20:12.737Z","snapshot_stamp":"2026-09-15T21-20Z","endpoint":{"slug":"promptqualityscore-com-api-pqs-grade-3e0739","canonical_url":"https://promptqualityscore.com/api/pqs-grade","resource":"https://promptqualityscore.com/api/pqs-grade","http_method":"POST","type":"http","x402_version":2,"registries":["cdp"],"primary_registry":"cdp","curated_by_coinbase":false,"description":"Quick pre-flight quality score: composite (0-100) + grade (A-F) + three framework sub-scores (PEEM, RAGAS, G-Eval) + verdict. Run upstream of any other paid call to filter weak prompts before inference. The cheapest gate on the AI input quality problem.","service_name":null,"declared_category":"ai","declared_tags":["pqs-grade","prompt-quality","preflight","scoring","llm-tooling","x402","pqs"],"route_template":":var1","registry_updated":"2026-09-14T19:58:29.845Z"},"derived":{"note":"fields no registry supplies; TOLL derives them and marks them derived on the page","title":"pqs grade","category":"compute","first_observed_by_toll":"2026-09-10T19:08:24.178Z","last_observed_by_toll":"2026-09-15T21:20:12.737Z","observation_began":"2026-09-10"},"presence":{"listed_now":true,"first_absent_at":null,"delisting_confirmed_at":null,"events":[{"registry":"cdp","at":"2026-09-10T19:08:24.178Z","event":"listed"}]},"accepts":[{"registry":"cdp","ordinal":0,"network":"eip155:8453","asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","asset_name":"USD Coin","symbol":"USDC","decimals":6,"amount_display":"0.001 USDC","amount_units":0.001,"decimals_known":true,"pay_to":"0xB40a687ca5483Ebc02F870348f6e08971Cae1308","scheme":"exact"}],"counters":{"observed_at":"2026-09-15T21:20:12.737Z","calls_30d":2,"unique_payers_30d":2,"last_called_at":"2026-09-14T19:58:29.454Z"},"validation":{"latest":{"observed_at":"2026-09-15T04:31:01.158Z","state":"malformed","failed_checks":["bazaar.routeTemplate.matches_resource"],"endpoint_http_status":402,"run_id":"daily-2026-09-15"},"uptime":[{"days":7,"observed":5,"passed":0,"ratio":0},{"days":30,"observed":5,"passed":0,"ratio":0},{"days":90,"observed":5,"passed":0,"ratio":0}],"history_90d":[{"observed_at":"2026-09-15T04:31:01.158Z","state":"malformed","failed_checks":["bazaar.routeTemplate.matches_resource"],"run_id":"daily-2026-09-15","state_changed":false},{"observed_at":"2026-09-14T04:27:32.799Z","state":"malformed","failed_checks":["bazaar.routeTemplate.matches_resource"],"run_id":"daily-2026-09-14","state_changed":false},{"observed_at":"2026-09-13T04:26:13.314Z","state":"malformed","failed_checks":["bazaar.routeTemplate.matches_resource"],"run_id":"daily-2026-09-13","state_changed":false},{"observed_at":"2026-09-12T06:41:53.119Z","state":"malformed","failed_checks":["bazaar.routeTemplate.matches_resource"],"run_id":"daily-2026-09-12","state_changed":false},{"observed_at":"2026-09-11T10:13:40.944Z","state":"malformed","failed_checks":["bazaar.routeTemplate.matches_resource"],"run_id":"daily-2026-09-11","state_changed":true}]},"seller":{"wallet":"0xB40a687ca5483Ebc02F870348f6e08971Cae1308","page":"https://tollindex.com/seller/0xB40a687ca5483Ebc02F870348f6e08971Cae1308","endpoints":1,"hosts":1},"reports":0,"registry_record":{"cdp":[{"type":"http","accepts":[{"tags":["pqs-grade","prompt-quality","preflight","scoring","llm-tooling","x402","pqs"],"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2"},"payTo":"0xB40a687ca5483Ebc02F870348f6e08971Cae1308","amount":"1000","scheme":"exact","iconUrl":"https://raw.githubusercontent.com/OnChainAIIntel/assets/main/onchainintel_profile_pic.png","network":"eip155:8453","category":"ai","mimeType":"application/json","description":"Quick pre-flight quality score: composite (0-100) + grade (A-F) + three framework sub-scores (PEEM, RAGAS, G-Eval) + verdict. Run upstream of any other paid call to filter weak prompts before inference. The cheapest gate on the AI input quality problem.","serviceName":"Prompt Quality Score","discoverable":true,"outputSchema":{"input":{"type":"http","method":"POST","bodyType":"json","bodyFields":{"prompt":{"type":"string","description":"Prompt text to grade (1-10000 chars)"},"vertical":{"type":"string","description":"Optional domain: software/content/business/education/science/crypto/general/research"}},"discoverable":true},"output":{"type":"object","required":["score","grade","verdict","frameworks"],"properties":{"grade":{"enum":["A","B","C","D","F"],"type":"string"},"score":{"type":"integer","maximum":100,"minimum":0,"description":"Composite 0-100 score (percentile-normalized total)"},"verdict":{"type":"string","description":"Single sentence diagnosing the weakest dimension, with a framework citation"},"frameworks":{"type":"object","required":["peem","ragas","geval"],"properties":{"peem":{"type":"number","maximum":10,"minimum":0,"description":"PEEM framework score: weights structure (clarity, output format, role, constraints)"},"geval":{"type":"number","maximum":10,"minimum":0,"description":"G-Eval framework score: weights LLM-judged faithfulness (clarity, specificity, CoT, constraints)"},"ragas":{"type":"number","maximum":10,"minimum":0,"description":"RAGAS framework score: weights grounding (context, specificity, examples)"}}},"upgrade_url":{"type":"string","description":"Link to PQS Pro for the full 8-dimension SaaS"},"methodology_url":{"type":"string","description":"Link to the methodology blog post explaining the five-framework synthesis"}}}},"networkLegacy":"base","maxAmountRequired":"1000","maxTimeoutSeconds":300,"maxAmountRequiredUSD":"$0.001"}],"quality":{"lastCalledAt":"2026-09-14T19:58:29.454Z","l30DaysTotalCalls":2,"l30DaysUniquePayers":2},"resource":"https://promptqualityscore.com/api/pqs-grade","extensions":{"bazaar":{"info":{"input":{"body":{"prompt":"Explain PQS scoring in one sentence to an AI agent operator.","vertical":"general"},"type":"http","method":"POST","bodyType":"json","pathParams":{}},"output":{"type":"json","example":{"grade":"C","score":58,"verdict":"PEEM flags weak output format and role definition. Specify how the answer should be shaped and who is asking.","frameworks":{"peem":5.5,"geval":6,"ragas":5.7},"upgrade_url":"https://promptqualityscore.com/pro?utm_source=pqs-grade&utm_medium=api&utm_campaign=2026-05-grade-launch","methodology_url":"https://promptqualityscore.com/blog/five-framework-synthesis?utm_source=pqs-grade&utm_medium=api&utm_campaign=2026-05-grade-launch"}}},"tags":["pqs-grade","prompt-quality","preflight","scoring","llm-tooling","x402","pqs"],"schema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["prompt"],"properties":{"prompt":{"type":"string","maxLength":10000,"minLength":1,"description":"Prompt text to grade (1-10000 chars)"},"vertical":{"enum":["software","content","business","education","science","crypto","general","research"],"type":"string","default":"general","description":"Optional domain: software/content/business/education/science/crypto/general/research"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"pathParams":{"type":"object"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"category":"ai","discoverable":true,"routeTemplate":":var1"}},"description":"Quick pre-flight quality score: composite (0-100) + grade (A-F) + three framework sub-scores (PEEM, RAGAS, G-Eval) + verdict. Run upstream of any other paid call to filter weak prompts before inference. The cheapest gate on the AI input quality problem.","lastUpdated":"2026-09-14T19:58:29.845Z","x402Version":2}]}}