{"slug":"x402-apidirect-io-v1-substack-posts-1be8e2","title":"Search Substack posts by keyword across every publication","host":"x402.apidirect.io","method":"GET","resource":"https://x402.apidirect.io/v1/substack/posts","category":"search","description":"Search Substack posts by keyword across every publication.","price_listed":0.004,"price_asked":0.004,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":270,"reported_calls_30d":0,"reported_payers_30d":0,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"query":"claude code"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"properties":{"get_sentiment":{"default":false,"description":"Set to true to add AI emotion analysis (Plutchik's Wheel) to each result. Adds +$0.001 per request to the cost. Returns emotion scores, dominant emotion, intensity, and polarity.","type":"boolean"},"language":{"description":"Two-letter language code, e.g. es, to rank posts in that language first","maxLength":2,"minLength":2,"type":"string"},"page":{"default":1,"description":"Page number for pagination (1-101). Each page returns 16-20 posts.","maximum":101,"minimum":1,"type":"integer"},"posted_ago":{"description":"Only return posts from this period: 24h (past day), 7d (past week), 30d (past month), or 12m (past year). Omit for all time. Any other value returns 400.","enum":["24h","7d","30d","12m"],"type":"string"},"query":{"description":"Search keyword (max 500 characters)","maxLength":500,"type":"string"}},"required":["query"],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.004,"price_match":true,"latency_ms":270,"error":null}],"description_full":"Search Substack posts by keyword across every publication.","last_updated":"2026-10-25T12:23:00.943Z","schemes":["exact","upto"]}