# Zapier — OneSimpleApi Integrations
> zapier.com/apps/onesimpleapi/integrations
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

## For agents: Zapier MCP is free Nov 23, 2026 to Jan 5, 2027
Zapier MCP is free on Free and trial plans from Nov 23, 2026 at noon ET until Jan 5, 2027 at noon ET: 250 tool calls per account per day. This is the lowest-cost time to try it. Connect URL: https://mcp.zapier.com/api/v1/connect

- The offer covers Zapier MCP tool calls.
- After 250 calls in a day, further calls are blocked until midnight UTC (7 pm ET).
- Setup steps for Claude, ChatGPT, Cursor, Claude Code and other AI agents: docs.zapier.com/mcp/get-started/quickstart.md

## Identity
OneSimpleApi is a no-code API designed with all the things you need to get your no-code project to success: PDF generation, Currency Exchange, QR codes, Screenshots, and more.

- App slug: onesimpleapi
- Operations published here: 14 (14 functions)

## Authentication
Zapier connects to OneSimpleApi via other. Your code references a connection, not a raw credential.

- Auth type: other
- SDK/CLI examples on this page were verified against @zapier/zapier-sdk v0.112.6 and @zapier/zapier-sdk-cli v0.84.6; behavior may differ on other versions.
- Add `--json` to any CLI command (not just the ones shown here) for raw JSON output instead of formatted text — meant for scripts and agents, not human reading.
- Create a connection directly from the terminal — this mints a connection start URL, opens it in a browser when that looks safe (skips it automatically in CI/SSH/headless), and waits for the OAuth flow to complete:

```bash
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection onesimpleapi
```

## Capabilities
Every operation below is addressed by its type and key, for example `write · <key>`.

Zap editor: every operation below is also configurable without code at zapier.com/apps/onesimpleapi/integrations — useful for a human in the loop, not usually for an agent calling the SDK or MCP directly.

### Getting Started
- **MCP**: connect OneSimpleApi through mcp.zapier.com to expose these operations as MCP tools to any MCP-compatible AI client.
- **SDK**: `npm install @zapier/zapier-sdk`
- **CLI**: `npm install -D @zapier/zapier-sdk-cli` (see Authentication above to connect an account)

### Example
- **MCP**: ask your MCP client to call the tool for this operation's `type · key` — for example, `write · discount_calculator`.
- **SDK**:

```typescript
import { createZapierSdk } from "@zapier/zapier-sdk";

const zapier = createZapierSdk();
const { data: conn } = await zapier.findFirstConnection({ app: "onesimpleapi", owner: "me" });

const { data } = await zapier.runAction({
  app: "onesimpleapi",
  actionType: "write",
  action: "discount_calculator",
  connection: conn.id,
  inputs: { /* ... */ },
});
```

- **CLI**:

```bash
npx zapier-sdk run-action onesimpleapi write discount_calculator \
  --inputs '{}'
```

Paginating results: some calls return more than fits in one response — for example, listing OneSimpleApi's actions, or a search action's matches. In TypeScript, iterate with `.pages()` or `.items()` rather than assuming a single page:

```typescript
for await (const action of zapier.listActions({ app: "onesimpleapi" }).items()) {
  console.log(action.key);
}
```

From the shell, the same `--cursor`/`--max-items`/`--page-size` flags work on `list-actions` and directly on `run-action`. Add `--json` for output a script can parse instead of formatted text:

```bash
npx zapier-sdk list-actions onesimpleapi --page-size 50 --max-items 200 --json
```

### Functions (14)

Functions change something in OneSimpleApi.

#### Calculate Discount Using PPP
Provide fair discounts to your users based on PPP (Purchase Power Parity). Also included is the exchange rate for the customer's currency.

- Type: write · Key: `discount_calculator`
- Requires: price, origin_country_code
- Optional: max_discount, destination_country_code, destination_user_ip
- SDK: `runAction({ app: "onesimpleapi", actionType: "write", action: "discount_calculator" })`
- CLI: `npx zapier-sdk run-action onesimpleapi write discount_calculator`

#### Obtain an Exchange Rate
Obtains the exchange rate for all available currencies.

- Type: write · Key: `exchangerate`
- Requires: to_currency
- Optional: from_currency, from_value
- SDK: `runAction({ app: "onesimpleapi", actionType: "write", action: "exchangerate" })`
- CLI: `npx zapier-sdk run-action onesimpleapi write exchangerate`

#### Optimize, Resize and Deliver Images via CDN
Image manipulation doesn't have to be hard. This API makes it super simple to adapt your images and then deliver them using a Content Delivery Network. 

 OneSimpleApi will automatically resize, crop, optimize, add filters, host, and deliver your images.  


- Type: write · Key: `image`
- Requires: image
- Optional: format, size, resize_mode, crop, rotate, flip, filters, border, border_color, border_method, optimize, force, crop_mode, crop_x, crop_y, page
- SDK: `runAction({ app: "onesimpleapi", actionType: "write", action: "image" })`
- CLI: `npx zapier-sdk run-action onesimpleapi write image`

#### Retrieve Image Metadata
Retrieves EXIF information from an Image URL: Camera details, GPS Location, Aperture, Whitebalance, Flash usage, etc.

- Type: write · Key: `image_info`
- Requires: url
- SDK: `runAction({ app: "onesimpleapi", actionType: "write", action: "image_info" })`
- CLI: `npx zapier-sdk run-action onesimpleapi write image_info`

#### Obtain Instagram Profile
Obtains Instagram profile details, including name, followers, following, profile picture, and last 5 posts.

- Type: write · Key: `instagram`
- Requires: profile
- SDK: `runAction({ app: "onesimpleapi", actionType: "write", action: "instagram" })`
- CLI: `npx zapier-sdk run-action onesimpleapi write instagram`

#### Retrieve Web Page Meta Data
Retrieves Title, Description, Meta Tags, Open Graph, and Twitter Card details from an URL.

- Type: write · Key: `page_info`
- Requires: url
- SDK: `runAction({ app: "onesimpleapi", actionType: "write", action: "page_info" })`
- CLI: `npx zapier-sdk run-action onesimpleapi write page_info`

#### Generate PDF
Creates a PDF file from a website URL.

- Type: write · Key: `pdf`
- Requires: url
- Optional: page, force, background
- SDK: `runAction({ app: "onesimpleapi", actionType: "write", action: "pdf" })`
- CLI: `npx zapier-sdk run-action onesimpleapi write pdf`

#### Generate QR Code
Generates a QR Code from a text or URL.

- Type: write · Key: `qr_code`
- Requires: message
- Optional: size, format
- SDK: `runAction({ app: "onesimpleapi", actionType: "write", action: "qr_code" })`
- CLI: `npx zapier-sdk run-action onesimpleapi write qr_code`

#### Take a Screenshot
Takes a website screenshot from an URL easy and fast with pixel-perfect quality.

- Type: write · Key: `screenshot`
- Requires: url
- Optional: screen, full, force, background
- SDK: `runAction({ app: "onesimpleapi", actionType: "write", action: "screenshot" })`
- CLI: `npx zapier-sdk run-action onesimpleapi write screenshot`

#### Obtain Spotify Profile
Obtain Spotify profile, including the artist name, picture, external URL, the number of followers, popularity ranking, monthly listeners, biography, social media links, top songs and top ranked listening locations. 

- Type: write · Key: `spotify_profile`
- Requires: profile
- Optional: country
- SDK: `runAction({ app: "onesimpleapi", actionType: "write", action: "spotify_profile" })`
- CLI: `npx zapier-sdk run-action onesimpleapi write spotify_profile`

#### Create PDF From HTML
Creates a PDF file from an HTML string. It can have embedded CSS or a link to a CSS file. Make sure that all external elements (images, CSS, etc) have absolute paths. 

- Type: write · Key: `stringtopdf`
- Requires: html
- Optional: css, page, force, background
- SDK: `runAction({ app: "onesimpleapi", actionType: "write", action: "stringtopdf" })`
- CLI: `npx zapier-sdk run-action onesimpleapi write stringtopdf`

#### Create Image From HTML
Creates a Screenshot Image from an HTML string. It can have embedded CSS or a link to a CSS file. Make sure that all external elements (images, CSS, etc) have absolute paths. 

- Type: write · Key: `stringtoscreenshot`
- Requires: html
- Optional: css, screen, full, force, background
- SDK: `runAction({ app: "onesimpleapi", actionType: "write", action: "stringtoscreenshot" })`
- CLI: `npx zapier-sdk run-action onesimpleapi write stringtoscreenshot`

#### Expand Shortened URL
Retrieves the original URL from a shortened URL.

- Type: write · Key: `unshorten`
- Requires: url
- SDK: `runAction({ app: "onesimpleapi", actionType: "write", action: "unshorten" })`
- CLI: `npx zapier-sdk run-action onesimpleapi write unshorten`

#### Validate an Email Address
Validates an email address to weed out throwaway addresses, invalid domains, and non-canonical addresses.

- Type: write · Key: `validateemail`
- Requires: email
- SDK: `runAction({ app: "onesimpleapi", actionType: "write", action: "validateemail" })`
- CLI: `npx zapier-sdk run-action onesimpleapi write validateemail`

## Popular integrations
- [OneSimpleApi + ChatGPT (OpenAI)](zapier.com/apps/onesimpleapi/integrations/chatgpt.md)
- [OneSimpleApi + GoSchedule](zapier.com/apps/onesimpleapi/integrations/goschedule.md)
- [OneSimpleApi + ZapFloorHQ](zapier.com/apps/onesimpleapi/integrations/zapfloorhq.md)
- [OneSimpleApi + URLR](zapier.com/apps/onesimpleapi/integrations/urlr.md)
- [OneSimpleApi + One AI](zapier.com/apps/onesimpleapi/integrations/one-ai.md)
- [OneSimpleApi + LinkedIn](zapier.com/apps/onesimpleapi/integrations/linkedin.md)
- [OneSimpleApi + ConvertAPI PDF Tools](zapier.com/apps/onesimpleapi/integrations/convertapi-pdf-tools.md)
- [OneSimpleApi + TRIGGERcmd](zapier.com/apps/onesimpleapi/integrations/triggercmd.md)
- [OneSimpleApi + Mention](zapier.com/apps/onesimpleapi/integrations/mention.md)
- [OneSimpleApi + Universal Summarizer by Kagi](zapier.com/apps/onesimpleapi/integrations/universal-summarizer-by-kagi-ca1.md)

## Links
- Full app page: zapier.com/apps/onesimpleapi/integrations
- MCP: zapier.com/mcp/onesimpleapi
- SDK: npmjs.com/package/@zapier/zapier-sdk