example-data.com
Menu
Browse docs and collections

matchmaking

matchmaking

Page 10 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": 217,
      "userId": 226,
      "candidateUserId": 58,
      "matchScorePercent": 18,
      "commonInterests": [],
      "status": "matched",
      "createdAt": "2025-06-08T11:07:41.447Z"
    },
    {
      "id": 218,
      "userId": 221,
      "candidateUserId": 53,
      "matchScorePercent": 21,
      "commonInterests": [
        "Reading",
        "Fitness"
      ],
      "status": "blocked",
      "createdAt": "2025-07-28T16:49:13.197Z"
    },
    {
      "id": 219,
      "userId": 161,
      "candidateUserId": 171,
      "matchScorePercent": 74,
      "commonInterests": [
        "Reading",
        "Art",
        "Coffee"
      ],
      "status": "pending",
      "createdAt": "2025-11-28T11:55:30.431Z"
    }
  ],
  "meta": {
    "page": 10,
    "limit": 24,
    "total": 500,
    "totalPages": 21
  },
  "links": {
    "self": "/api/v1/matchmaking?page=10&limit=24",
    "first": "/api/v1/matchmaking?page=1&limit=24",
    "last": "/api/v1/matchmaking?page=21&limit=24",
    "next": "/api/v1/matchmaking?page=11&limit=24",
    "prev": "/api/v1/matchmaking?page=9&limit=24"
  }
}