Reference · Tools

OneSimpleAPI

Generate PDFs, screenshots, QR codes, and retrieve information using the OneSimpleAPI service.

Action (binary) Utility v1 Binary data

The OneSimpleAPI node bundles a set of small utilities: turning a URL into a PDF or screenshot, generating QR codes, and looking up social profiles, exchange rates, SEO data, image metadata and email validity. A typical build is capturing a screenshot of a published page and attaching it to the release notes.

Node type
Action (binary)
Parameters
28
Outputs
Output, Error
Credentials
OneSimpleAPI

OneSimpleAPI

Generate PDFs, screenshots, QR codes, and retrieve information from URLs

Overview

The OneSimpleAPI tool provides a toolbox of no-code utilities: (1) Website operations — generate PDF from webpage, take screenshot of webpage, get SEO data from webpage; (2) Social Profile lookups — Instagram profile details, Spotify artist details; (3) Information retrieval — currency exchange rates, image metadata; (4) Utility operations — validate email, expand shortened URL, generate QR code. Binary operations (PDF, screenshot, QR code) optionally download the generated file into the binary store. All requests use GET with query parameters.

Category: Utility
Tool Name: one_simple_api
Version: 1

Appearance: Icon: lucide-Wand | Color: #4B5563

Node Type

Action (Binary) — handles file/binary data operations

Input / Output

DirectionPort(s)
InputInput
OutputOutput, Error

Credentials

This tool requires OneSimpleAPI credentials. See the Credentials Guide for setup instructions.

Resources

ResourceValue
Informationinformation
Social ProfilesocialProfile
Utilityutility
Websitewebsite

Operations

OperationValueDescription
Generate PDFpdfGenerate a PDF from a webpage
Get SEO DataseoGet SEO information from a website
Take ScreenshotscreenshotCreate a screenshot from a webpage
InstagraminstagramProfileGet details about an Instagram profile
SpotifyspotifyArtistProfileGet details about a Spotify artist
Exchange RateexchangeRateConvert a value between currencies
Image MetadataimageMetadataRetrieve image metadata from a URL
Expand URLexpandURLExpand a shortened URL
Generate QR CodeqrCodeGenerate a QR code
Validate EmailvalidateEmailValidate an email address

Each resource offers only its own operations: websitepdf, seo, screenshot; socialProfileinstagramProfile, spotifyArtistProfile; informationexchangeRate, imageMetadata; utilityexpandURL, qrCode, validateEmail.

Parameters

Every parameter below supports {{ }} expressions, so URLs, text and field names can come from the incoming item.

Website: Generate PDF

ParameterTypeRequiredDefaultDescription
Webpage URL (link)stringYesLink to webpage to convert to PDF.
Download PDF? (download)booleanYesfalseWhether to download the PDF or return a link to it.
Put Output In FieldstringYesdataThe name of the output field to put the binary file data in. (shown when Download PDF? is true)
OptionscollectionNo{}Optional PDF settings.
— Page SizeoptionsNoPaper size for the generated PDF.
Options: A0, A1, A2, A3, A4, A5, A6, Ledger, Legal, Letter, Tabloid
— Force RefreshbooleanNofalseNormally the API will reuse a previously generated file to give a faster response. This option forces a fresh generation.

Website: Take Screenshot

ParameterTypeRequiredDefaultDescription
Webpage URL (link)stringYesLink to webpage to screenshot.
Download Screenshot? (download)booleanYesfalseWhether to download the screenshot or return a link to it.
Put Output In FieldstringYesdataThe name of the output field to put the binary file data in. (shown when Download Screenshot? is true)
OptionscollectionNo{}Optional screenshot settings.
— Screen SizeoptionsNoDevice viewport to render the page at.
Options: phone, phone-landscape, retina, tablet, tablet-landscape
— Force RefreshbooleanNofalseNormally the API will reuse a previously taken screenshot to give a faster response. This option forces a fresh capture.
— Full PagebooleanNofalseCapture the full page length rather than just the visible viewport area.

Website: Get SEO Data

ParameterTypeRequiredDefaultDescription
Webpage URL (link)stringYesWebpage to get SEO information for.
OptionscollectionNo{}Optional SEO settings.
— Include Headers?booleanNofalseWhether to include HTTP response headers in the output.

Social Profile: Instagram

ParameterTypeRequiredDefaultDescription
Profile NamestringYesInstagram profile name to get details of.

Social Profile: Spotify

ParameterTypeRequiredDefaultDescription
Artist NamestringYesSpotify artist name to get details for.

Information: Exchange Rate

ParameterTypeRequiredDefaultDescription
ValuestringYesThe numeric value to convert.
From CurrencystringYesSource currency code (e.g. USD, EUR, GBP).
To CurrencystringYesTarget currency code (e.g. EUR, USD, GBP).

Information: Image Metadata

ParameterTypeRequiredDefaultDescription
Link To Image (link)stringYesURL of the image to retrieve metadata from.

Utility: Validate Email

ParameterTypeRequiredDefaultDescription
Email AddressstringYesThe email address to validate.

Utility: Expand URL

ParameterTypeRequiredDefaultDescription
URL (link)stringYesThe shortened URL to expand.

Utility: Generate QR Code

ParameterTypeRequiredDefaultDescription
QR Content (message)stringYesThe text that should be turned into a QR code (e.g. a website URL).
Download Image? (download)booleanYesfalseWhether to download the QR code image or return a link to it.
Put Output In FieldstringYesdataThe name of the output field to put the binary file data in. (shown when Download Image? is true)
OptionscollectionNo{}Optional QR code settings.
— SizeoptionsNoSmallThe QR code size.
Options: Small, Medium, Large
— FormatoptionsNoPNGThe QR code output format.
Options: PNG, SVG

All Operations

ParameterTypeRequiredDefaultDescription
Max ConcurrencynumberNo10Maximum number of items to process concurrently.

Output Data

Every operation merges the OneSimpleAPI response onto the input item JSON — the incoming fields pass through unchanged. One output item per input item; nothing fans out.

The three file-producing operations always return a url pointing at the generated file. What happens next depends on the download switch:

OperationDownload offDownload on
pdfThe item carries the API response, including the url of the generated PDF. Binary is forwarded untouched.The PDF is also fetched and written to the field named by Put Output In Field, as webpage.pdf, alongside any binary the item already carried.
screenshotSame — the response’s url points at the image.The image is written as screenshot.png.
qrCodeSame — the response’s url points at the QR code.The QR code is written as qrcode.png, or qrcode.svg when Format is SVG.

The remaining operations (seo, instagramProfile, spotifyArtistProfile, exchangeRate, imageMetadata, validateEmail, expandURL) merge their JSON response onto the item and forward binary unchanged.

Reference the result downstream by expression, e.g. {{ $json.url }}.

Usage Examples

  • Generate a PDF from a webpage URL
  • Take a screenshot of a website
  • Generate a QR code from text content
  • Get SEO metadata from a webpage
  • Validate an email address
  • Expand a shortened URL
  • Get Instagram profile details
  • Convert currency exchange rates

Example Configuration

Turn a page from the incoming item into an A4 PDF and keep the file:

{
  "type": "one_simple_api",
  "parameters": {
    "resource": "website",
    "operation": "pdf",
    "link": "{{ $json.url }}",
    "download": true,
    "output": "pdfFile",
    "options": {
      "page": "A4",
      "force": false
    }
  }
}

Capture a full-page phone screenshot, returning just a link:

{
  "type": "one_simple_api",
  "parameters": {
    "resource": "website",
    "operation": "screenshot",
    "link": "https://example.com",
    "download": false,
    "options": {
      "screen": "phone",
      "fullpage": true,
      "force": true
    }
  }
}

Pull SEO metadata, including response headers:

{
  "type": "one_simple_api",
  "parameters": {
    "resource": "website",
    "operation": "seo",
    "link": "{{ $json.pageUrl }}",
    "options": {
      "headers": true
    }
  }
}

Generate a large SVG QR code and download it:

{
  "type": "one_simple_api",
  "parameters": {
    "resource": "utility",
    "operation": "qrCode",
    "message": "{{ $json.ticketUrl }}",
    "download": true,
    "output": "qrImage",
    "options": {
      "size": "Large",
      "format": "SVG"
    }
  }
}

Validate an email address coming off the item:

{
  "type": "one_simple_api",
  "parameters": {
    "resource": "utility",
    "operation": "validateEmail",
    "emailAddress": "{{ $json.email }}"
  }
}

Expand a shortened link:

{
  "type": "one_simple_api",
  "parameters": {
    "resource": "utility",
    "operation": "expandURL",
    "link": "{{ $json.shortLink }}"
  }
}

Convert an amount between currencies:

{
  "type": "one_simple_api",
  "parameters": {
    "resource": "information",
    "operation": "exchangeRate",
    "value": "{{ $json.amount }}",
    "fromCurrency": "USD",
    "toCurrency": "EUR"
  }
}

Look up an Instagram profile:

{
  "type": "one_simple_api",
  "parameters": {
    "resource": "socialProfile",
    "operation": "instagramProfile",
    "profileName": "{{ $json.handle }}"
  }
}

Error Handling

ModeBehavior
stopHalts workflow on first error
continueSkips failed items, passes successful ones through
errorPortRoutes failed items to Error output port

Tips

Generate PDFs, screenshots, and QR codes from URLs, plus retrieve social profiles, exchange rates, SEO data, and email validation via OneSimpleAPI.

Behavior notes

  • Match the operation to the resource. Each resource exposes only its own operations, and picking a resource resets the operation list — website gives pdf, seo and screenshot; socialProfile gives instagramProfile and spotifyArtistProfile; information gives exchangeRate and imageMetadata; utility gives expandURL, qrCode and validateEmail.
  • Download is off by default. Leave it off and you get a link on the item; turn it on and the file is fetched into binary data as well. Put Output In Field only appears once download is on.
  • Force Refresh costs time. The API caches generated PDFs and screenshots and returns the cached copy unless you ask for a fresh one — only turn Force Refresh on when the page has genuinely changed.
  • QR Format decides the file type. SVG produces a scalable qrcode.svg; anything else produces qrcode.png.
  • Several different fields share the internal name link. When writing node configuration by hand, the webpage URL, the image URL and the shortened URL are all link.

Frequently asked questions

Why did my operation list change?

Each resource exposes only its own operations and picking a resource resets the list. `website` gives pdf, seo and screenshot; `socialProfile` gives Instagram and Spotify artist profiles; `information` gives exchange rate and image metadata; `utility` gives the remaining tools.

Can it produce files?

Yes — PDF, screenshot and QR code operations return binary data ready to attach, store or send on.

Is it a good fit for bulk work?

It is designed for convenience over volume. For heavy screenshot or PDF pipelines a dedicated service usually costs less per unit.

Which credential does it need?

A OneSimpleAPI credential.

Build with the OneSimpleAPI node

Drop it into a workflow, wire it to an agent, or call it on a schedule. You'll need OneSimpleAPI credentials first.

Open BusyBot

Last updated . Spotted something wrong? Tell us.