example-data.com
Menu
Browse docs and collections

matchmaking

matchmaking

Page 13 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": 289,
      "userId": 107,
      "candidateUserId": 55,
      "matchScorePercent": 37,
      "commonInterests": [
        "Live shows",
        "Foodie"
      ],
      "status": "passed",
      "createdAt": "2025-05-29T13:59:21.192Z"
    },
    {
      "id": 290,
      "userId": 133,
      "candidateUserId": 237,
      "matchScorePercent": 45,
      "commonInterests": [
        "Reading"
      ],
      "status": "blocked",
      "createdAt": "2026-02-21T05:01:37.352Z"
    },
    {
      "id": 291,
      "userId": 5,
      "candidateUserId": 45,
      "matchScorePercent": 68,
      "commonInterests": [
        "Travel",
        "Foodie",
        "Languages"
      ],
      "status": "pending",
      "createdAt": "2026-01-25T07:05:58.944Z"
    }
  ],
  "meta": {
    "page": 13,
    "limit": 24,
    "total": 500,
    "totalPages": 21
  },
  "links": {
    "self": "/api/v1/matchmaking?page=13&limit=24",
    "first": "/api/v1/matchmaking?page=1&limit=24",
    "last": "/api/v1/matchmaking?page=21&limit=24",
    "next": "/api/v1/matchmaking?page=14&limit=24",
    "prev": "/api/v1/matchmaking?page=12&limit=24"
  }
}