Whenever you're ready, walk me through how you'd approach this.
Explain what an API is.
Describe the concept in practical terms, using a concrete example such as a REST API request. Clarify what the API contract contains and how a client and server use it. Keep the answer focused on general software APIs and HTTP-based REST APIs, without discussing a specific company or product.