Integrate a Paginated, Rate-Limited API with AI

Medium · AI-Assisted Coding · about 60 minutes

Asked at Shopify, Coinbase, Meta, Vercel.

Using an AI assistant and the provided API documentation, write a sync job that copies all of a customer's records from a third-party API into the local database. The API is cursor-paginated, rate-limited (it returns 429 with a Retry-After header) and occasionally returns 503. The job must be safe to re-run.

Related guides