Skip to main content
Gravity is the ad network for AI. It matches ads to conversations, not keywords.

SDK or HTTP API

Publishers can integrate with an SDK or call the HTTP API directly. SDKs: JavaScript (@gravity-ai/api, @gravity-ai/react), React Native, Python, iOS, and Android. The API is POST https://server.trygravity.com/api/v1/ad; see the API reference.

Where ads appear

Chat apps, coding assistants and IDEs, consumer AI apps, and AI search: any product where a person talks to a model. For the terms used in these docs, see Core concepts.