Design Daily Call Quotas for LinkedIn Partner APIs

Last updated: November 29, 2026

Quick Overview

LinkedIn's Marketing and Community Management APIs give each partner application a daily call quota per endpoint and per member token. Design the system that enforces these quotas and reports usage to developers.

LinkedIn
System Design
Software Engineer
LinkedIn
November 29, 2026
Software Engineer
Phone Screen
System Design
Easy

0

0

0 solved


LinkedIn's Marketing and Community Management APIs give each partner application a daily call quota per endpoint and per member token. Design the system that enforces these quotas and reports usage to developers.

LinkedIn exposes partner APIs used by ad tools and social media schedulers, and abuse or runaway clients can harm member data and services. A simpler design screen checks that you can build a quota counter at the API gateway with sensible accuracy trade-offs.

What the Interviewer Expects
  • Defines quota dimensions (app, endpoint, member token) and reset time
  • Places enforcement at the API gateway
  • Uses a shared counter store with atomic increments
  • Discusses accuracy versus latency trade-offs
  • Returns clear headers and error codes to clients
  • Shows usage in a developer portal
Key Topics to Cover
quotas
rate limiting
API gateway
counters
Redis
How to Approach This
  1. Start by clarifying functional and non-functional requirements with the interviewer.
  2. Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
  3. Draw a high-level architecture first, then deep dive into 1-2 critical components.
  4. Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
  5. Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
  • How do you keep quotas accurate across multiple data centers?
  • What changes if quotas are per minute instead of per day?
  • How would you let LinkedIn grant temporary quota increases?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Practice System Design Problems
Sample Answer
Requirements

Functional: limit calls per (app, endpoint) per day and per (app, member, endpoint) per day; reset at midnight UTC; return HTTP 429 with a retry hint when exceeded; developers see usage and limits...

High-Level Design
  • Requests pass through the API gateway, which authenticates the OAuth token, resolves app id and member id, and checks quotas.
  • Quota config service stores limits per app and endpoint tier (...

Submit Your Answer
Markdown supported