{"name":"Hanging Context ask endpoint","description":"Ask a question in plain words. The reply copies facts word for word from recent stories. No LLM runs, and no key is necessary.","protocol":"NLWeb","api_version":"1","methods":{"GET":"https://hangingcontext.com/ask?query=<question>","POST":"Send a JSON body, for example {\"query\": \"<question>\"}."},"parameters":{"query":"The question. Required. The name q is also accepted. At most 500 characters.","topic":"Optional. Only search this topic slug.","days":"Optional. Look back this many days. Default 7.","limit":"Optional. Number of facts to return. Default 5.","stream":"Optional. Set to true, or send Accept: text/event-stream, to get a stream."},"example":{"get":"curl -s 'https://hangingcontext.com/ask?query=what+happened+in+AI+in+the+last+12+hours'","post":"curl -s -X POST https://hangingcontext.com/ask -H 'Content-Type: application/json' -d '{\"query\": \"what happened in AI in the last 12 hours\"}'"},"authentication":{"required":false},"rate_limit":{"limit":60,"window_seconds":60,"scope":"per IP address"},"errors":"A failed call returns JSON with error, message and next_step.","docs":{"developers":"https://hangingcontext.com/developers/","openapi":"https://hangingcontext.com/openapi.json"}}