Prefer to chat? Query the API with natural language using our AI Skill →

Give your AI tool live Cito endpoint context before you write integration code.

Open AI Skill

Public docs assistant

Tell Cito API what you are building.

Get endpoint recommendations, exact requests, code snippets, and a free-key CTA without digging through every page.

Resources/SDKs & Libraries

REST Client Examples

Copy-paste REST examples for popular languages. These examples work with the API today and keep your API key on the server.

JavaScript / TypeScript fetch

Built-in fetch

Install

No install required

Quick Example

const response = await fetch("https://api.citoapi.com/api/v1/cod/matches/live", {
  headers: { "x-api-key": process.env.CITO_API_KEY }
});

const data = await response.json();
console.log(data);

Python requests

requests

Install

pip install requests

Quick Example

import os
import requests

response = requests.get(
    "https://api.citoapi.com/api/v1/cod/matches/live",
    headers={"x-api-key": os.environ["CITO_API_KEY"]}
)

print(response.json())

Go net/http

net/http

Install

No install required

Quick Example

req, _ := http.NewRequest("GET", "https://api.citoapi.com/api/v1/cod/matches/live", nil)
req.Header.Set("x-api-key", os.Getenv("CITO_API_KEY"))

res, err := http.DefaultClient.Do(req)

Ruby Net::HTTP

net/http

Install

No install required

Quick Example

require 'net/http'
require 'json'

uri = URI('https://api.citoapi.com/api/v1/cod/matches/live')
req = Net::HTTP::Get.new(uri)
req['x-api-key'] = ENV['CITO_API_KEY']

res = Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) { |http| http.request(req) }
puts JSON.parse(res.body)

No SDK? No Problem

Cito API is a standard REST API. You can use any HTTP client:

curl -X GET "https://api.citoapi.com/api/v1/cod/matches/live" \
  -H "x-api-key: cito_live_your_key" \
  -H "Content-Type: application/json"

Other HTTP Clients

Cito API uses standard HTTP headers and JSON responses, so any backend HTTP client works.

Rustreqwest
PHPcurl / Guzzle
C#HttpClient
JavaOkHttp / HttpClient