Quickstart Guide

Get started with the Reka Research in minutes. This guide shows how to fetch the latest Nations League 2025 winner with a single API call and integrate using the OpenAI SDK.

1. Get your API key

Create a free account on the Reka Platform to access your API key.

Keep your API key secure. Never expose it in client-side code or share it publicly.

2. Make your first API request

Use this curl command to fetch the Nations League 2025 winner. Replace $API_KEY with your actual key.

Shell
$curl https://api.reka.ai/v1/chat/completions \
> --header 'Authorization: Bearer $API_KEY' \
> --header "content-type: application/json" \
> --data '{
> "model": "reka-flash-research",
> "messages": [
> {
> "role": "user",
> "content": "Who won the UEFA Nations League 2025?"
> }
> ]
> }'

3. Integrate with the OpenAI SDK

Reka Research is fully compatible with OpenAI’s /chat/completions format.

You can use the official OpenAI SDK. Just update three settings:

  1. Set the base URL to https://api.reka.ai/v1
  2. Use your Reka API key
  3. Set the model to reka-flash-research

Here’s how to call the API in Python and TypeScript:

1from openai import OpenAI
2
3client = OpenAI(
4 base_url="https://api.reka.ai/v1",
5 api_key=API_KEY
6)
7
8completion = client.chat.completions.create(
9 model="reka-flash-research",
10 messages=[
11 {
12 "role": "user",
13 "content": "Who won the UEFA Nations League 2025?",
14 },
15 ],
16)
17
18print(completion.choices[0].message.content)

You’re ready to build and launch with the Reka Research.

For more examples and advanced usage, see our guide on Reka Research.