# API

Canonical page: https://www.theglitch.ai/ai-glossary/api

A defined way for software to ask another service to do something, like sending a prompt to a model and getting an answer back.

[API, common card \#033 in The Glitch AI glossary: A defined way for software to ask another service to do something, like sending a prompt to a model and getting an answer back.](https://www.theglitch.ai/images/cards/glossary/api.png?v=1d058b7c02b34952)

GLS 033 · common

Also called: Application programming interface.

For: Beginner · Builders

## Why it matters

Almost every AI product calls a model through an API; understanding it demystifies how they are built.

## In practice

An app sends the user’s question and its instructions to a model API and shows the reply.

## Watch for

API keys are secrets; never put them in browser code.

## Related terms

[Rate limit](https://www.theglitch.ai/ai-glossary/rate-limit) · [Streaming](https://www.theglitch.ai/ai-glossary/streaming) · [Tool calling](https://www.theglitch.ai/ai-glossary/tool-calling)

## Guides that use it

[What is a GTM engineer? The new growth hacker and how to become one in 2027](https://www.theglitch.ai/learn/gtm-engineer)

## Sources

- [Wikipedia: API](https://en.wikipedia.org/wiki/API)

Definition updated 2026-10-29.

[The Ultimate AI Glossary (2027): every term](https://www.theglitch.ai/ai-glossary)

---

Site: [The Glitch](https://www.theglitch.ai) · [About Rabin](https://www.theglitch.ai/about) · [Agent guide](https://www.theglitch.ai/agent.md)
