example-data.com
Menu
Browse docs and collections

matchmaking

matchmaking

Page 15 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": 337,
      "userId": 61,
      "candidateUserId": 219,
      "matchScorePercent": 61,
      "commonInterests": [
        "Movies"
      ],
      "status": "pending",
      "createdAt": "2025-11-20T08:17:15.345Z"
    },
    {
      "id": 338,
      "userId": 166,
      "candidateUserId": 33,
      "matchScorePercent": 0,
      "commonInterests": [
        "Cycling"
      ],
      "status": "pending",
      "createdAt": "2025-12-30T05:18:53.232Z"
    },
    {
      "id": 339,
      "userId": 102,
      "candidateUserId": 35,
      "matchScorePercent": 40,
      "commonInterests": [
        "Outdoors",
        "Languages",
        "Travel",
        "Photography",
        "Tech"
      ],
      "status": "matched",
      "createdAt": "2025-10-20T11:13:18.399Z"
    }
  ],
  "meta": {
    "page": 15,
    "limit": 24,
    "total": 500,
    "totalPages": 21
  },
  "links": {
    "self": "/api/v1/matchmaking?page=15&limit=24",
    "first": "/api/v1/matchmaking?page=1&limit=24",
    "last": "/api/v1/matchmaking?page=21&limit=24",
    "next": "/api/v1/matchmaking?page=16&limit=24",
    "prev": "/api/v1/matchmaking?page=14&limit=24"
  }
}