{"openapi":"3.1.0","info":{"title":"Instant Answer API","version":"1.0.0","description":"Get instant knowledge answers — definitions, abstracts, entity facts and related topics — plus search autocomplete suggestions, powered by DuckDuckGo. Ideal for knowledge panels, \"did you mean\" boxes and query suggestions.","contact":{"name":"PremiumApi","url":"https://www.oanor.com/by/premiumapi"}},"servers":[{"url":"https://api.oanor.com/answer-api","description":"oanor gateway"}],"tags":[{"name":"Search"}],"components":{"securitySchemes":{"oanorKey":{"type":"apiKey","in":"header","name":"x-oanor-key","description":"Get your key at https://www.oanor.com/developer/keys"}}},"security":[{"oanorKey":[]}],"paths":{"/v1/answer":{"get":{"operationId":"get_v1_answer","tags":["Search"],"summary":"Instant answer for a query","description":"","parameters":[{"name":"q","in":"query","required":true,"description":"Query","schema":{"type":"string"},"example":"python programming"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"type":"A","image":"https://duckduckgo.com/i/4d83768732377cf3.png","query":"python programming","heading":"Python (programming language)","abstract":"Python is a high-level, general-purpose programming language that emphasizes code readability, simplicity, and ease-of-writing with the use of significant indentation, \"plain English\" naming, an extensive standard library, and garbage collection. Python supports multiple programming paradigms but with an emphasis on object-oriented programming and dynamic typing. Guido van Rossum began working on Python in the late 1980s as a successor to the ABC programming language. Python 3.0, released in 2008, was a major revision and not completely backward-compatible with earlier versions. Beginning with Python 3.5, capabilities and keywords for typing were added to the language, allowing optional static typing. As of 2026, the Python Software Foundation supports Python 3.10, 3.11, 3.12, 3.13, and 3.14, following the project's annual release cycle and five-year support policy. Python 3.15 is currently in the alpha development phase, and the stable release is expected to launch in October 2026.","abstract_url":"https://en.wikipedia.org/wiki/Python_(programming_language)","related_topics":[{"url":"https://duckduckgo.com/c/Python_(programming_language)","text":"Python (programming language) Category"},{"url":"https://duckduckgo.com/Pydoc","text":"Pydoc - Pydoc is the standard documentation module for the programming language Python."},{"url":"https://duckduckgo.com/NumPy","text":"NumPy - NumPy is a library for the Python programming language, adding support for large, multi-dimensional arrays and matrices, along with a large collection of high-level mathematical functions to operate on these arrays."},{"url":"https://duckduckgo.com/SciPy","text":"SciPy - SciPy is a free and open-source Python library used for scientific computing and technical computing."},{"url":"https://duckduckgo.com/Project_Jupyter","text":"Jupyter - Project Jupyter is a project to develop open-source software, open standards, and services for interactive computing across multiple programming languages."},{"url":"https://duckduckgo.com/PyTorch","text":"PyTorch - PyTorch is an open-source deep learning library, originally developed by Meta Platforms and currently developed with support from the Linux Foundation."},{"url":"https://duckduckgo.com/Cython","text":"Cython - Cython is a superset of the programming language Python, which allows developers to write Python code that yields performance comparable to that of C. Cython is a compiled language that is typically used to generate CPython extension modules."},{"url":"https://duckduckgo.com/c/Pattern_matching_programming_languages","text":"Pattern matching programming languages"},{"url":"https://duckduckgo.com/c/Class-based_programming_languages","text":"Class-based programming languages"},{"url":"https://duckduckgo.com/c/Multi-paradigm_programming_languages","text":"Multi-paradigm programming languages"},{"url":"https://duckduckgo.com/c/Text-oriented_programming_languages","text":"Text-oriented programming languages"},{"url":"https://duckduckgo.com/c/Concurrent_programming_languages","text":"Concurrent programming languages"},{"url":"https://duckduckgo.com/c/Dynamically_typed_programming_languages","text":"Dynamically typed programming languages"},{"url":"https://duckduckgo.com/c/Educational_programming_languages","text":"Educational programming languages"},{"url":"https://duckduckgo.com/c/High-level_programming_languages","text":"High-level programming languages"},{"url":"https://duckduckgo.com/c/Object-oriented_programming_languages","text":"Object-oriented programming languages"},{"url":"https://duckduckgo.com/c/Scripting_languages","text":"Scripting languages"},{"url":"https://duckduckgo.com/c/Dutch_inventions","text":"Dutch inventions"},{"url":"https://duckduckgo.com/c/Programming_languages","text":"Programming languages"},{"url":"https://duckduckgo.com/c/Cross-platform_free_software","text":"Cross-platform free software"},{"url":"https://duckduckgo.com/c/Cross-platform_software","text":"Cross-platform software"}],"abstract_source":"Wikipedia"},"meta":{"timestamp":"2026-05-30T00:23:49.565Z","request_id":"e15d59da-5ec2-46ba-b2c9-13f41f4da1f9"},"status":"ok","message":"Answer retrieved successfully","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/autocomplete":{"get":{"operationId":"get_v1_autocomplete","tags":["Search"],"summary":"Search autocomplete suggestions","description":"","parameters":[{"name":"q","in":"query","required":true,"description":"Partial query","schema":{"type":"string"},"example":"pyth"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"count":8,"query":"pyth","suggestions":["python","python download","python online","python 3","pythagoras","python compiler","python lernen","pythagoras rechner"]},"meta":{"timestamp":"2026-05-30T00:23:50.019Z","request_id":"ac46f216-51cf-4d3d-ae1b-a5bc0a8e1137"},"status":"ok","message":"Suggestions retrieved successfully","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}}},"x-oanor-pricing":[{"slug":"free","name":"Free","price_cents_month":0,"monthly_call_quota":1500,"rps_limit":2,"hard_limit":true},{"slug":"basic","name":"Basic","price_cents_month":1100,"monthly_call_quota":60000,"rps_limit":8,"hard_limit":true},{"slug":"pro","name":"Pro","price_cents_month":2700,"monthly_call_quota":275000,"rps_limit":20,"hard_limit":true},{"slug":"mega","name":"Mega","price_cents_month":6900,"monthly_call_quota":1200000,"rps_limit":50,"hard_limit":true}],"x-oanor-marketplace-url":"https://www.oanor.com/api/answer-api"}