example-data.com
Menu
Browse docs and collections

matchmaking

matchmaking

Page 3 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": 49,
      "userId": 106,
      "candidateUserId": 149,
      "matchScorePercent": 41,
      "commonInterests": [],
      "status": "pending",
      "createdAt": "2025-08-26T23:03:09.399Z"
    },
    {
      "id": 50,
      "userId": 208,
      "candidateUserId": 172,
      "matchScorePercent": 49,
      "commonInterests": [
        "Cooking"
      ],
      "status": "pending",
      "createdAt": "2025-11-07T11:18:29.510Z"
    },
    {
      "id": 51,
      "userId": 226,
      "candidateUserId": 154,
      "matchScorePercent": 56,
      "commonInterests": [],
      "status": "passed",
      "createdAt": "2025-08-02T09:44:52.404Z"
    }
  ],
  "meta": {
    "page": 3,
    "limit": 24,
    "total": 500,
    "totalPages": 21
  },
  "links": {
    "self": "/api/v1/matchmaking?page=3&limit=24",
    "first": "/api/v1/matchmaking?page=1&limit=24",
    "last": "/api/v1/matchmaking?page=21&limit=24",
    "next": "/api/v1/matchmaking?page=4&limit=24",
    "prev": "/api/v1/matchmaking?page=2&limit=24"
  }
}