Mosaic API Documentation¶
Your First Advertising Infrastructure for AI
Monetize your AI by seamlessly integrating contextually relevant ads without disrupting user experience.
What is Mosaic?¶
Mosaic provides a Stripe-like API infrastructure for delivering contextually relevant ads within AI. Our platform connects Publishers (AI model providers) with advertisers looking to reach users through Model-as-a-Platform (MAAP) applications.
With a simple API integration, AI models can serve ads that match the conversation context, creating new revenue streams while maintaining a seamless user experience.
How It Works¶
-
Simple API Integration
Integrate with a single API endpoint that matches conversation context to relevant ads -
Keyword-Based Matching
Currently we analyze conversation keywords to deliver the most relevant ads. (Coming soon) Future versions will support broader contextual signals. -
Real-Time Analytics
Track impressions, clicks, and earnings through comprehensive dashboards -
Automated Payments
Receive payments automatically based on ad performance
Trusted MAAPs¶
AI models on our partner platforms are already leveraging Mosaic to serve relevant ads and unlock new revenue streams.


Key Features¶
- Contextual Ad Serving: Deliver ads based on real-time conversation context and keywords
- Simple Integration: Easy-to-implement API for AI model providers
- Performance Tracking: Built-in tracking for impressions and clicks
- Campaign Management: Tools for advertisers to create and manage ad campaigns
- Content Provenance: As a proud member of the C2PA (Coalition for Content Provenance and Authenticity), Mosaic ensures every ad delivered through our platform is transparently labeled and verifiable. Our C2PA-compliant technology helps prevent tampering, fraud, and misinformation—giving publishers, advertisers, and users confidence in every impression.
We are committed to the highest standards of content authenticity and provenance. Learn more about C2PA.
Getting Started¶
Integrating Mosaic into your AI model is straightforward:
- Learn about our API architecture
- Set up authentication
- Implement the fetch-ads endpoint
- Follow our integration best practices
Why Choose Mosaic?¶
Mosaic is built specifically for the unique challenges of advertising within AI models:
- Designed for Conversation: Our ad-matching algorithm understands conversational context
- Non-Disruptive: Ads enhance rather than interrupt the user experience
- Scalable: Infrastructure built to handle millions of requests per day
- Evolving Technology: Starting with keyword matching, evolving to more predictive ad serving
- Provenance & Trust: C2PA-compliant ads provide verifiable authenticity and traceability, helping prevent tampering, fraud, and misinformation.
Ready to Get Started?¶
-
API Reference
Detailed documentation of our API endpoints and parameters -
Integration Guide
Step-by-step instructions for integrating Mosaic into your AI model -
Code Examples
Sample code in multiple languages to help you get started quickly -
FAQ
Answers to commonly asked questions about Mosaic