Skip to main content
OneSimpleAPI logo
  • Category: developer tools
  • Auth: API_KEY
  • Composio-managed OAuth available? N/A
  • Tools: 15
  • Triggers: 0
  • Slug: ONESIMPLEAPI
  • Version: 20261030_00

Tools

Slug: ONESIMPLEAPI_ANALYZE_READABILITYAnalyze text for readability, grade level, reading time, difficult-word counts, and sentiment.

Input Parameters

string
required
Text to analyze for readability, reading time, and sentiment.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: ONESIMPLEAPI_CALCULATE_PPP_DISCOUNTCalculate a purchasing-power-parity discount and localized price between an origin and a destination country.

Input Parameters

number
required
Positive base price to localize.
number
Maximum discount percentage.
string
Destination user’s IPv4 or IPv6 address. Provide exactly one of this field or destination_country_code.
string
required
Two-letter ISO country code where the base price applies.
string
Two-letter ISO destination country code. Provide exactly one of this field or destination_user_ip.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: ONESIMPLEAPI_CAPTURE_SCREENSHOTCapture a webpage URL or raw HTML as a hosted screenshot and return its URL and rendering metadata.

Input Parameters

string
Public webpage URL to capture; provide this or html.
string
Raw HTML to capture; provide this or url.
boolean
Force a fresh capture rather than reuse a cached result.
string
Viewport preset (retina, phone, phone-landscape, tablet, tablet-landscape, 4k, or 8k) or custom:WIDTHxHEIGHT in pixels.
boolean
Capture the full scrollable page rather than only the viewport.
boolean
Include page background rendering.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: ONESIMPLEAPI_CONVERT_CURRENCYConvert an amount between supported currencies and return the converted value and exchange rate.

Input Parameters

number
Amount in the source currency to convert.
string
required
Three-letter destination currency code, such as EUR.
string
Three-letter source currency code.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: ONESIMPLEAPI_CREATE_SHORT_URLCreate a OneSimpleAPI short URL with optional one-time-use, redirect, query-forwarding, and active-date controls.

Input Parameters

string
required
Destination HTTP or HTTPS URL.
string
Optional ISO date when the short URL stops being active.
boolean
Whether the short URL should work only once.
string
Optional ISO date when the short URL becomes active.
boolean
Whether incoming query parameters should be forwarded to the destination.
boolean
Whether redirects should be temporary rather than permanent.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: ONESIMPLEAPI_DELETE_FILEDelete a generated OneSimpleAPI file by its hosted URL and return the updated file record.

Input Parameters

string
required
Generated file URL returned by a creation tool or List Files.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: ONESIMPLEAPI_EXPAND_SHORT_URLResolve a shortened URL and return its final URL, redirect count, and redirect trace.

Input Parameters

string
required
Shortened HTTP or HTTPS URL to resolve.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: ONESIMPLEAPI_GENERATE_OR_CONVERT_COLORGenerate a deterministic color palette from text or convert a supplied color into HEX, RGB, HSL, and related palette values.

Input Parameters

number
Optional palette hue adjustment from 0 through 360.
string
Text used to deterministically generate a color and palette; provide this or color.
string
HEX or rgb() color to convert; provide this or text.
number
Optional palette lightness adjustment from 0 through 1.
number
Optional palette saturation adjustment from 0 through 1.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: ONESIMPLEAPI_GENERATE_PDFGenerate a PDF from either a webpage URL or raw HTML and return the hosted PDF URL and page metadata.

Input Parameters

string
Public webpage URL to convert; provide this or html.
string
Raw HTML to convert. Use this instead of url; do not provide both fields.
string ("Letter" | "Legal" | "Tabloid" | "Ledger" | "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6")
PDF page size.
boolean
Force regeneration rather than reuse a cached result.
boolean
Include page backgrounds in the PDF; disabled by default.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: ONESIMPLEAPI_GENERATE_QR_CODEGenerate a hosted PNG or SVG QR code for a message and return its URL.

Input Parameters

string ("small" | "medium" | "large")
Generated QR code size.
string
Foreground color in hexadecimal, RGB, or RGBA notation.
string ("png" | "svg")
Generated image format.
string
required
Text, URL, phone number, or other message to encode in the QR code.
string
Background color in hexadecimal, RGB, or RGBA notation.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: ONESIMPLEAPI_GET_IMAGE_INFORMATIONExtract dimensions, image metadata, EXIF camera fields, and available GPS details from an image URL. Returned fields vary with the metadata embedded in the image.

Input Parameters

boolean
Whether to include raw metadata in addition to normalized fields.
string
required
Publicly reachable image URL to inspect.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: ONESIMPLEAPI_LIST_FILESReturn one page of generated files owned by the connected account, optionally filtered by live or deleted status.

Input Parameters

string ("live" | "deleted")
Optional lifecycle status to filter files by.
string
Cursor from a previous response; omit for the first page.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: ONESIMPLEAPI_LIST_SHORT_URLSReturn one page of OneSimpleAPI short URLs and their click statistics.

Input Parameters

string
Cursor from a previous response; omit for the first page.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: ONESIMPLEAPI_TRANSFORM_IMAGEResize, crop, rotate, flip, filter, border, optimize, and host an image, returning the generated image URL and metadata.

Input Parameters

string
Crop size, such as 200x150, or a supported social-media size.
string ("v" | "h" | "vh")
Flip vertically, horizontally, or on both axes.
integer
One-based page number to convert when the source is a multi-page PDF.
string
Output size, such as 200x150, 200w, 150h, or a supported social-media size.
boolean
Whether to regenerate the image instead of reusing a cached transform.
string
required
Source image URL or provider-supported base64 image value.
integer
Border width in pixels.
number
Horizontal crop coordinate used with offset or focal crop mode.
number
Vertical crop coordinate used with offset or focal crop mode.
string ("webp" | "jpg" | "png")
Generated image format.
string ("auto" | "90" | "180" | "270")
Rotation to apply to the generated image.
string
Comma-separated filters: grayscale, sepia, or name:value using blur and sharpen from 0 to 100, brightness and contrast from -100 to 100, gamma from 0.01 to 9.99, or pixelate from 0 to 1000.
boolean
Whether to optimize the generated image for size and performance.
string ("top" | "top-left" | "top-right" | "center" | "center-left" | "center-right" | "bottom" | "bottom-left" | "bottom-right" | "offset" | "focal")
Crop strategy, such as center, top-left, offset, or focal. Use offset or focal with crop_x and crop_y.
string ("contain" | "size-limit" | "forced")
How to fit the source into the requested size.
string
Border color as an HTML color name or hexadecimal color.
string ("overlay" | "expand" | "shrink")
How the border affects the output image dimensions.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: ONESIMPLEAPI_VALIDATE_EMAILValidate an email address and assess its domain, MX records, deliverability, disposability, role status, and registration safety.

Input Parameters

string
required
Email address to validate.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not