> ## Documentation Index
> Fetch the complete documentation index at: https://glasser.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Build with Glasser

Glasser connects your product to paid data from specialist Providers. Use your
product's Glasser Key, or let users connect their own Glasser account with a Key
or MCP sign-in. Runs use the connected Workspace's balance.

## How it works

An **Endpoint** is a specific data operation from a Provider. Your product's
Agent or backend chooses which Endpoint to use through three steps:

1. **Search** the Catalog to find Endpoints that match the data you need.
2. **Inspect** an Endpoint to read its input schema and Price.
3. **Run** the selected Endpoint with your input. Glasser calls the Provider and
   records the execution as a **Run**, with its status, result, and charge.

<div className="integration-flow">
  <div className="integration-flow-light">
    <img src="https://mintcdn.com/glasser/bbBUYSwtt4Va8bQj/images/integrations/glasser-flow-light.webp?fit=max&auto=format&n=bbBUYSwtt4Va8bQj&q=85&s=0a161a798fbbb3bf710e506f4608b630" alt="Your product's Agent or backend follows Search, Inspect, then Run. Search finds Endpoints and Inspect reads their input schemas and Prices from Glasser's Catalog for free. Only Run executes the selected Endpoint with a Provider. The Provider returns data to Glasser, and Glasser returns the Run result and charge to your product." width="896" height="896" data-path="images/integrations/glasser-flow-light.webp" />
  </div>

  <div className="integration-flow-dark">
    <img src="https://mintcdn.com/glasser/bbBUYSwtt4Va8bQj/images/integrations/glasser-flow-dark.webp?fit=max&auto=format&n=bbBUYSwtt4Va8bQj&q=85&s=06349218f3ff63a7c4be7225030adda3" alt="Your product's Agent or backend follows Search, Inspect, then Run. Search finds Endpoints and Inspect reads their input schemas and Prices from Glasser's Catalog for free. Only Run executes the selected Endpoint with a Provider. The Provider returns data to Glasser, and Glasser returns the Run result and charge to your product." width="896" height="896" data-path="images/integrations/glasser-flow-dark.webp" />
  </div>
</div>

Search and Inspect query Glasser's Catalog for free; they do not call a Provider.
A Run can incur a charge under the Endpoint's Price. Once you have selected and
inspected an Endpoint, you can reuse it without searching before every Run.

## Example: check an Instagram creator

> I'm considering sponsoring @mkbhd. Check likes and comments on his 10 latest Instagram posts before I commit.

<Steps>
  <Step title="Search">
    **Query:** “Instagram profile recent posts engagement”

    One matching result:<br />
    **Provider:** Apify (`apify`)<br />
    **Endpoint:** `/apify/instagram-post-scraper`
  </Step>

  <Step title="Inspect">
    Ask Glasser to inspect that **Provider + Endpoint**.

    **Input schema:** `username` — required array with one username.<br />
    **Also returns:** current Price and charging rules.
  </Step>

  <Step title="Run">
    Run the same **Provider + Endpoint**, then wait for the Run to complete.

    **Input:** `username` = `["mkbhd"]`<br />
    **Returns:** up to 10 public posts with captions, like counts, and comment counts, plus the Run charge.
  </Step>
</Steps>

Your Agent compares the posts' engagement to help you assess the sponsorship.

## What are you building?

<Columns cols={2}>
  <Card title="Power your product's Agent" icon="robot" href="/docs/integrations/product-agent">
    Let an Agent find and choose data for each user request.

    Use this when the questions and required data change from task to task.
  </Card>

  <Card title="Call a specific Endpoint" icon="bullseye" href="/docs/integrations/specific-endpoint">
    Connect a known Provider and Endpoint to a product feature.

    Use this when you already know which data to retrieve each time.
  </Card>
</Columns>

The main difference is **who selects the Endpoint, and when**. In the Agent path,
the Agent can choose during a task. In the specific Endpoint path, you make that
choice while building the feature. Both paths use the same Data Sources and
Run API, and your product can use both.

## Optional: Solutions

Glasser currently offers the **GTM Solution** with six predefined capabilities:
Web research, Company intelligence, People search, SEO research, Social research,
and Market data.

These capabilities wrap supported Endpoints. For example, **Company intelligence**
accepts a domain to look up a company. Glasser handles Provider selection, input
mapping, and fallback for supported failures.

See [Solutions overview](/docs/api-reference/solutions/overview) for supported actions
and inputs.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.