example-data.com
Menu
Browse docs and collections

matchmaking

matchmaking

Page 7 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": 145,
      "userId": 27,
      "candidateUserId": 178,
      "matchScorePercent": 88,
      "commonInterests": [
        "Fitness",
        "Volunteering",
        "Gaming"
      ],
      "status": "passed",
      "createdAt": "2026-01-21T09:48:50.039Z"
    },
    {
      "id": 146,
      "userId": 96,
      "candidateUserId": 38,
      "matchScorePercent": 47,
      "commonInterests": [
        "Music",
        "Cooking"
      ],
      "status": "pending",
      "createdAt": "2026-01-12T08:24:21.009Z"
    },
    {
      "id": 147,
      "userId": 160,
      "candidateUserId": 29,
      "matchScorePercent": 46,
      "commonInterests": [
        "Foodie"
      ],
      "status": "liked",
      "createdAt": "2025-12-04T06:56:23.394Z"
    }
  ],
  "meta": {
    "page": 7,
    "limit": 24,
    "total": 500,
    "totalPages": 21
  },
  "links": {
    "self": "/api/v1/matchmaking?page=7&limit=24",
    "first": "/api/v1/matchmaking?page=1&limit=24",
    "last": "/api/v1/matchmaking?page=21&limit=24",
    "next": "/api/v1/matchmaking?page=8&limit=24",
    "prev": "/api/v1/matchmaking?page=6&limit=24"
  }
}