example-data.com
Menu
Browse docs and collections

matchmaking

matchmaking

Page 20 of 21.

Overview

Request

curl example

curl -sS \
  "https://example-data.com/api/v1/matchmaking?limit=25"

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/matchmaking?limit=25"
);
const { data, meta } = await res.json();

TypeScript example

// Download once: mkdir -p types && curl -o types/matchmaking.d.ts https://example-data.com/types/matchmaking.d.ts
import type { Matchmaking, ListEnvelope } from "./types/matchmaking";

const res = await fetch(
  "https://example-data.com/api/v1/matchmaking?limit=25"
);
const { data, meta } = (await res.json()) as ListEnvelope<Matchmaking>;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/matchmaking",
    params={"limit": 25},
)
data = res.json()

Response

{
  "data": [
    {
      "id": 457,
      "userId": 40,
      "candidateUserId": 88,
      "matchScorePercent": 24,
      "commonInterests": [
        "Reading",
        "Photography"
      ],
      "status": "matched",
      "createdAt": "2025-08-11T02:18:20.228Z"
    },
    {
      "id": 458,
      "userId": 240,
      "candidateUserId": 76,
      "matchScorePercent": 2,
      "commonInterests": [
        "Cooking",
        "Travel"
      ],
      "status": "liked",
      "createdAt": "2026-03-09T11:29:03.729Z"
    },
    {
      "id": 459,
      "userId": 94,
      "candidateUserId": 196,
      "matchScorePercent": 37,
      "commonInterests": [
        "Cycling",
        "Yoga"
      ],
      "status": "matched",
      "createdAt": "2025-08-25T09:27:34.008Z"
    }
  ],
  "meta": {
    "page": 20,
    "limit": 24,
    "total": 500,
    "totalPages": 21
  },
  "links": {
    "self": "/api/v1/matchmaking?page=20&limit=24",
    "first": "/api/v1/matchmaking?page=1&limit=24",
    "last": "/api/v1/matchmaking?page=21&limit=24",
    "next": "/api/v1/matchmaking?page=21&limit=24",
    "prev": "/api/v1/matchmaking?page=19&limit=24"
  }
}