Code examples
Pick a language below to see a ready-to-run request against /v1/news/everything. Every page shows the same request, so clients can be compared side by side.
The choice is remembered: once you open a Python example, code samples on every other page — endpoints, workflows, migrations — open on the Python tab too. Change it any time by clicking a different tab on a code block or a different language here.
Languages without a dedicated page still work: the API is plain HTTP with an X-API-Key header, so any HTTP client fits. See Authentication for the header formats and Search articles for the full parameter list.
- JavaScript
- TypeScript
- Rust
- Swift
- Kotlin
- Clojure
- Crystal
- Dart
- Erlang
- Haskell
- Julia
- Objective-C
- OCaml
- PowerShell
- R
- Scala
- Zig