{"slug":"saylorinnovations-com-api-stats-sample-size-58ea86","title":"Survey sample size for a margin of error and confidence level with optional popu","host":"saylorinnovations.com","method":"GET","resource":"https://saylorinnovations.com/api/stats/sample-size","category":"other","description":"Survey sample size for a margin of error and confidence level with optional population correction, expected proportion and the z value used","price_listed":0.01,"price_asked":null,"state":"no_terms","state_label":"Answers HTTP 404 without x402 payment terms","checks_7d":1,"answered_7d":0,"latency_ms_median":null,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"confidence":"95","margin":"5","population":"1000"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET","POST","PUT","PATCH","DELETE","HEAD"],"type":"string"},"queryParams":{"properties":{"confidence":{"description":"optional percent, default 95","type":"string"},"margin":{"description":"optional margin of error in percent, default 5","type":"string"},"population":{"description":"optional population size for finite correction","type":"string"}},"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"properties":{"confidence":{"type":"number"},"expected_proportion_percent":{"description":"Expected proportion, as a percentage","type":["number","null"]},"finite_population_applied":{"description":"Finite population applied","type":"boolean"},"margin_percent":{"description":"Margin, as a percentage","type":"number"},"note":{"description":"Caveat or context for reading the result","type":"string"},"population":{"type":["number","null"]},"required_sample":{"description":"Required sample","type":"number"},"source":{"description":"Data source the values come from","type":"string"},"unadjusted_sample":{"description":"Unadjusted sample","type":"number"},"z":{"type":"number"}},"required":["required_sample"],"type":"object"},"type":{"const":"json","type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-18","reachable":true,"status":404,"valid_402":false,"asked_usdc":null,"price_match":null,"latency_ms":222,"error":null}],"description_full":"Survey sample size for a margin of error and confidence level with optional population correction, expected proportion and the z value used","last_updated":"2026-10-17T10:23:38.681Z","schemes":["exact"]}