Volver al catálogo

OneSimpleAPI

onesimpleapi

OneSimpleAPI provides utility APIs for web content, images, PDFs, QR codes, URL management, validation, exchange rates, and file management.

Acciones
15
Triggers
0
Autenticación
—
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

Acciones disponibles (15)

Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.

Analyze ReadabilityONESIMPLEAPI_ANALYZE_READABILITYAcción

Analyze text for readability, grade level, reading time, difficult-word counts, and sentiment.

Parámetros de entrada

  • textstringObligatorio

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

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Calculate PPP DiscountONESIMPLEAPI_CALCULATE_PPP_DISCOUNTAcción

Calculate a purchasing-power-parity discount and localized price between an origin and a destination country.

Parámetros de entrada

  • pricenumberObligatorio

    Positive base price to localize.

  • max_discountnumber

    Maximum discount percentage.

  • destination_user_ipstring

    Destination user's IPv4 or IPv6 address. Provide exactly one of this field or destination_country_code.

  • origin_country_codestringObligatorio

    Two-letter ISO country code where the base price applies.

  • destination_country_codestring

    Two-letter ISO destination country code. Provide exactly one of this field or destination_user_ip.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Capture ScreenshotONESIMPLEAPI_CAPTURE_SCREENSHOTAcción

Capture a webpage URL or raw HTML as a hosted screenshot and return its URL and rendering metadata.

Parámetros de entrada

  • urlstring

    Public webpage URL to capture; provide this or html.

  • htmlstring

    Raw HTML to capture; provide this or url.

  • forceboolean

    Force a fresh capture rather than reuse a cached result.

  • screenany

    Viewport preset (retina, phone, phone-landscape, tablet, tablet-landscape, 4k, or 8k) or custom:WIDTHxHEIGHT in pixels.

  • full_pageboolean

    Capture the full scrollable page rather than only the viewport.

  • backgroundboolean

    Include page background rendering.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Convert CurrencyONESIMPLEAPI_CONVERT_CURRENCYAcción

Convert an amount between supported currencies and return the converted value and exchange rate.

Parámetros de entrada

  • from_valuenumber

    Amount in the source currency to convert.

  • to_currencystringObligatorio

    Three-letter destination currency code, such as EUR.

  • from_currencystring

    Three-letter source currency code.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Short URLONESIMPLEAPI_CREATE_SHORT_URLAcción

Create a OneSimpleAPI short URL with optional one-time-use, redirect, query-forwarding, and active-date controls.

Parámetros de entrada

  • urlstringObligatorio

    Destination HTTP or HTTPS URL.

  • end_datestring

    Optional ISO date when the short URL stops being active.

  • single_useboolean

    Whether the short URL should work only once.

  • start_datestring

    Optional ISO date when the short URL becomes active.

  • forward_paramsboolean

    Whether incoming query parameters should be forwarded to the destination.

  • temporary_redirectboolean

    Whether redirects should be temporary rather than permanent.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete FileONESIMPLEAPI_DELETE_FILEAcción

Delete a generated OneSimpleAPI file by its hosted URL and return the updated file record.

Parámetros de entrada

  • urlstringObligatorio

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

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Expand Short URLONESIMPLEAPI_EXPAND_SHORT_URLAcción

Resolve a shortened URL and return its final URL, redirect count, and redirect trace.

Parámetros de entrada

  • urlstringObligatorio

    Shortened HTTP or HTTPS URL to resolve.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Generate or Convert ColorONESIMPLEAPI_GENERATE_OR_CONVERT_COLORAcción

Generate a deterministic color palette from text or convert a supplied color into HEX, RGB, HSL, and related palette values.

Parámetros de entrada

  • huenumber

    Optional palette hue adjustment from 0 through 360.

  • textstring

    Text used to deterministically generate a color and palette; provide this or color.

  • colorstring

    HEX or rgb() color to convert; provide this or text.

  • lightnessnumber

    Optional palette lightness adjustment from 0 through 1.

  • saturationnumber

    Optional palette saturation adjustment from 0 through 1.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Generate PDFONESIMPLEAPI_GENERATE_PDFAcción

Generate a PDF from either a webpage URL or raw HTML and return the hosted PDF URL and page metadata.

Parámetros de entrada

  • urlstring

    Public webpage URL to convert; provide this or html.

  • htmlstring

    Raw HTML to convert. Use this instead of url; do not provide both fields.

  • pagestringenum

    PDF page size.

    LetterLegalTabloidLedgerA0A1A2A3A4A5A6
  • forceboolean

    Force regeneration rather than reuse a cached result.

  • backgroundboolean

    Include page backgrounds in the PDF; disabled by default.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Generate QR CodeONESIMPLEAPI_GENERATE_QR_CODEAcción

Generate a hosted PNG or SVG QR code for a message and return its URL.

Parámetros de entrada

  • sizestringenum

    Generated QR code size.

    smallmediumlarge
  • colorstring

    Foreground color in hexadecimal, RGB, or RGBA notation.

  • formatstringenum

    Generated image format.

    pngsvg
  • messagestringObligatorio

    Text, URL, phone number, or other message to encode in the QR code.

  • backgroundstring

    Background color in hexadecimal, RGB, or RGBA notation.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Image InformationONESIMPLEAPI_GET_IMAGE_INFORMATIONAcción

Extract dimensions, image metadata, EXIF camera fields, and available GPS details from an image URL. Returned fields vary with the metadata embedded in the image.

Parámetros de entrada

  • rawboolean

    Whether to include raw metadata in addition to normalized fields.

  • urlstringObligatorio

    Publicly reachable image URL to inspect.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List FilesONESIMPLEAPI_LIST_FILESAcción

Return one page of generated files owned by the connected account, optionally filtered by live or deleted status.

Parámetros de entrada

  • statusstringenum

    Optional lifecycle status to filter files by.

    livedeleted
  • next_cursorstring

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

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Short URLsONESIMPLEAPI_LIST_SHORT_URLSAcción

Return one page of OneSimpleAPI short URLs and their click statistics.

Parámetros de entrada

  • next_cursorstring

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

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Transform ImageONESIMPLEAPI_TRANSFORM_IMAGEAcción

Resize, crop, rotate, flip, filter, border, optimize, and host an image, returning the generated image URL and metadata.

Parámetros de entrada

  • cropstring

    Crop size, such as 200x150, or a supported social-media size.

  • flipstringenum

    Flip vertically, horizontally, or on both axes.

    vhvh
  • pageinteger

    One-based page number to convert when the source is a multi-page PDF.

  • sizestring

    Output size, such as 200x150, 200w, 150h, or a supported social-media size.

  • forceboolean

    Whether to regenerate the image instead of reusing a cached transform.

  • imagestringObligatorio

    Source image URL or provider-supported base64 image value.

  • borderinteger

    Border width in pixels.

  • crop_xnumber

    Horizontal crop coordinate used with offset or focal crop mode.

  • crop_ynumber

    Vertical crop coordinate used with offset or focal crop mode.

  • formatstringenum

    Generated image format.

    webpjpgpng
  • rotatestringenum

    Rotation to apply to the generated image.

    auto90180270
  • filtersstring

    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.

  • optimizeboolean

    Whether to optimize the generated image for size and performance.

  • crop_modestringenum

    Crop strategy, such as center, top-left, offset, or focal. Use offset or focal with crop_x and crop_y.

    toptop-lefttop-rightcentercenter-leftcenter-rightbottombottom-leftbottom-rightoffsetfocal
  • resize_modestringenum

    How to fit the source into the requested size.

    containsize-limitforced
  • border_colorstring

    Border color as an HTML color name or hexadecimal color.

  • border_methodstringenum

    How the border affects the output image dimensions.

    overlayexpandshrink

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Validate EmailONESIMPLEAPI_VALIDATE_EMAILAcción

Validate an email address and assess its domain, MX records, deliverability, disposability, role status, and registration safety.

Parámetros de entrada

  • emailstringObligatorio

    Email address to validate.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not