Creator Glow Lab by MissMacknOG

API Library

Discover browser and creator APIs for storage, UI, animation, media, and communication with beginner explanations, practical use cases, and official documentation.

Browser APIs and creator platforms

Learn what browser APIs and creator platform integrations do, why you might use them, and how to think about them as a beginner. Explore storage, UI, animation, media, and communication.

Finding an API for your project

Read practical use cases and follow official documentation for implementation details, permissions, browser support, and platform requirements before integrating an API.

Web Storage API

Storage & Data

Saves data directly in the user's browser — permanently with localStorage, or just for the current session with sessionStorage. No server or backend needed.

Remember user preferences, dark mode settings, saved items, and creator configurations across visits without any infrastructure.

Think of localStorage like a drawer in the user's browser. Whatever you put in stays there even after the tab closes. sessionStorage is the same drawer, but it empties itself when the tab closes.

Use cases

  • Dark/light mode toggle that remembers on return
  • Save favorite colors, font preferences, or layout settings
  • Store which dashboard tab was last open
  • Keep form progress across page loads
  • Save a user's custom theme configuration

Official Web Storage API documentation

Fetch API

Storage & Data

Makes HTTP requests to load data from any URL or API — without reloading the page. The modern, promise-based replacement for XMLHttpRequest.

Pull live data from any third-party service: weather, photos from Unsplash, YouTube stats, Gumroad products — all dynamically on your site.

Fetch is like a messenger: you send it to a URL and it returns with the data. Works with JSON APIs, images, text files — anything accessible over HTTP.

Use cases

  • Load products from Gumroad or Lemon Squeezy
  • Fetch live weather for a widget
  • Pull images from Unsplash or Pexels
  • Submit contact forms without page reload
  • Load blog posts from a headless CMS

Official Fetch API documentation

URL API & URLSearchParams

Storage & Data

Parse, build, and modify URLs and their query parameters cleanly and reliably without string manipulation.

Read active filters from the URL, build shareable links, append tracking parameters — all without error-prone string splitting.

A URL like ?color=purple&size=lg has query parameters. URLSearchParams reads them like a key-value map instead of messy string splitting.

Use cases

  • Read active filters from the current URL
  • Build shareable filtered portfolio views
  • Append UTM tracking parameters to links
  • Parse affiliate or referral codes
  • Construct API request URLs cleanly

Official URL API & URLSearchParams documentation

History API

Storage & Data

Change the browser URL and manage navigation history without reloading the page — the foundation of single-page apps.

Build multi-step flows, gallery views, and filtered states that are bookmarkable and shareable without page reloads.

Normally, clicking a link loads a new page. History API lets you silently update the URL so users can bookmark or share a specific filter or view — without any reload.

Use cases

  • Portfolio with deep-linkable individual project pages
  • Active filter state saved in the URL
  • Multi-step checkout or quiz without reloads
  • Tab state reflected in URL
  • Back-button-aware gallery navigation

Official History API documentation

Cache API

Storage & Data

Store network responses — fonts, images, scripts, API data — locally so they load instantly on repeat visits.

Make your creator site feel blazing fast by caching assets so returning visitors experience zero loading delay.

The Cache API stores web responses locally. Instead of re-downloading the same font or image every visit, the browser serves it instantly from local storage.

Use cases

  • Cache brand fonts for instant load on return visits
  • Pre-cache portfolio thumbnails
  • Store API responses for offline capability
  • Speed up repeat visitors significantly
  • Build a fully offline-capable portfolio

Official Cache API documentation

Clipboard API

Interface & UI

Copy text, HTML, or rich content to the system clipboard with a single JavaScript call.

The 'Copy Code' buttons throughout Creator Glow Lab use this API. Essential for code blocks, discount codes, color values, and referral links.

One async function call copies anything to the user's clipboard — they can immediately paste it anywhere on their device.

Use cases

  • Copy code snippets with one click
  • Copy promo or discount codes
  • Copy referral or affiliate links
  • Share color hex values from a palette tool
  • Copy API keys or generated tokens

Official Clipboard API documentation

Fullscreen API

Interface & UI

Expand any element — a video, image gallery, or even your entire app — to fill the entire screen.

Create immersive portfolio presentations, full-screen video players, and focus-mode reading experiences.

Like pressing F11 in your browser, but for any element you choose — triggered by a button click, not a keyboard shortcut.

Use cases

  • Full-screen video player
  • Immersive portfolio presentations
  • Full-screen image gallery or lightbox
  • Focus mode for long-form reading
  • Presentation mode for your creator site

Official Fullscreen API documentation

HTML Dialog API

Interface & UI

Native browser modal that handles focus trapping, accessibility, and Escape-key dismissal automatically — no library needed.

Replace custom modal JavaScript with a built-in element that the browser manages correctly for accessibility and keyboard navigation.

A <dialog> element is a built-in modal. .showModal() opens it centered on screen, Escape closes it, and focus is trapped inside — all handled by the browser automatically.

Use cases

  • Product detail modals
  • Lead capture popups
  • Confirmation dialogs
  • Image lightboxes
  • Cookie consent banners

Official HTML Dialog API documentation

View Transition API

Interface & UI

Create smooth animated transitions between page states or navigation — like native mobile app transitions in the browser.

Give your portfolio or multi-page site the premium, fluid feel of a native app with minimal code.

When you switch screens in a native app, elements glide rather than flash. View Transitions bring that to the web — a few lines of code and your navigation feels cinematic.

Use cases

  • Portfolio page-to-page slide transitions
  • Tab switches with smooth fade/slide
  • Gallery thumbnail expanding to full view
  • Section transitions in single-page apps
  • Branded page-load transitions

Official View Transition API documentation

Window.matchMedia()

Interface & UI

Detect the user's screen size, OS color scheme (dark/light), reduced motion preference, and more — directly in JavaScript.

Build adaptive interfaces that respect the user's OS-level preferences from the moment they land, before any interaction.

matchMedia is how JavaScript reads CSS media queries. Ask 'is the user in dark mode?' or 'does their screen prefer reduced motion?' and react accordingly.

Use cases

  • Detect OS dark/light mode and apply theme on load
  • Skip animations for users with reduced-motion preference
  • Responsive JavaScript logic based on screen width
  • Device-specific layout or behavior adjustments
  • Sync site color theme with operating system

Official Window.matchMedia() documentation

CSS Object Model (CSSOM)

Interface & UI

Read and modify CSS styles from JavaScript — including changing CSS custom properties (variables) dynamically at runtime.

Animate CSS variables, apply live theme switching, build color tools and style generators that update the entire page instantly.

You can change a CSS variable live with one line. The entire page updates instantly to reflect the new value — no re-renders, no class toggling.

Use cases

  • Live color theme switching across entire site
  • Dynamic glow intensity slider controls
  • Animating CSS custom properties with JavaScript
  • Reading computed layout values precisely
  • Building theme generators and color tools

Official CSS Object Model (CSSOM) documentation

Intersection Observer API

Animation & Layout

Detects when an element enters or exits the viewport — no scroll event listeners, no performance hit.

Trigger scroll animations, lazy-load images, and highlight the active nav section as the user scrolls — all efficiently.

Think of it like a motion sensor for your page. When an element comes into view, your code runs. Perfect for scroll-reveal entrance animations.

Use cases

  • Scroll-triggered entrance animations
  • Lazy loading images below the fold
  • Active section highlighting in sticky nav
  • Infinite scroll content loading
  • Animated counters that start on view

Official Intersection Observer API documentation

Resize Observer API

Animation & Layout

Watch any element for size changes and respond in real time — not just when the window resizes, but when that specific element resizes.

Build truly responsive components that react to their container size, perfect for charts, editors, and dynamic layouts.

window.resize fires when the whole window changes. ResizeObserver watches individual elements — even a panel inside a panel — and fires when that specific element changes size.

Use cases

  • Responsive charts that reflow with their container
  • Adaptive text that scales with container width
  • Editor panels that reflow on sidebar open/close
  • Layout-aware component logic
  • Sidebar collapse and expand detection

Official Resize Observer API documentation

Mutation Observer API

Animation & Layout

Watch the DOM for changes — new elements added, attributes changed, text modified — and react to them automatically.

React to content injected by third-party scripts, auto-enhance CMS content, or build live word counters.

Like a watchful eye on your HTML. If anything changes in the DOM — whether by your own code or an external script — MutationObserver fires so you can respond.

Use cases

  • Auto-enhance third-party widget content
  • React to CMS-injected HTML dynamically
  • Build live character or word counters
  • Detect when new elements are added to a list
  • Track attribute changes on interactive elements

Official Mutation Observer API documentation

Performance API

Animation & Layout

Measure exactly how fast your page loads and how long operations take — down to fractions of a millisecond.

Find what's slowing down your creator site and optimize for a luxury-feeling, instant experience.

Mark the start of something (like loading your gallery), mark the end, and Performance tells you the exact milliseconds it took.

Use cases

  • Measure total page load time precisely
  • Find which images or scripts slow your site
  • Profile animation and scroll performance
  • A/B test different loading strategies
  • Track time-to-interactive for creator dashboards

Official Performance API documentation

Drag and Drop API

Animation & Layout

Native browser drag-and-drop between elements, reorderable lists, and drag-to-upload zones — no library required.

Build reorderable image galleries, file upload zones, and kanban-style portfolio boards with native browser support.

Add draggable='true' to an element, listen for dragstart and drop events, and the browser handles the visual drag indicator automatically.

Use cases

  • Reorderable image gallery
  • Drag-to-upload file zone
  • Reorder portfolio project cards
  • Drag-and-drop content organizer
  • Visual page builder interactions

Official Drag and Drop API documentation

Canvas API

Media

Draw 2D graphics, generative art, data visualizations, and frame-by-frame animations directly in the browser.

Audio visualizers, generative brand art, confetti effects, signature pads — all without any external library.

Canvas gives you a blank drawing surface in the browser. You draw on it with JavaScript commands like fillRect, arc, and drawImage — like a programmatic Photoshop.

Use cases

  • Audio visualizer waveform animations
  • Generative cosmic background art
  • Digital signature or drawing pad
  • Animated loading and particle effects
  • Export/screenshot tool for generated content

Official Canvas API documentation

Picture-in-Picture API

Media

Pop a video into a small floating window that stays visible even as the user scrolls or navigates away.

Keep your tutorial video or product demo playing while users read your sales page or fill out a form.

Like YouTube's mini-player. A small floating video window stays on top of everything on screen while the user browses elsewhere.

Use cases

  • Tutorial video that follows users as they scroll
  • Product demo that stays visible during checkout
  • Music video popup player
  • Course video in a persistent sidebar
  • Background tutorial while filling a form

Official Picture-in-Picture API documentation

Media Capabilities API

Media

Check whether a user's device can smoothly play a specific video or audio format before loading it.

Serve the right quality video to each device — 4K for powerful desktops, lower bitrate for mobile — with zero buffering.

Before loading a 4K video, ask the browser 'Can you play this smoothly?' and serve a lower quality version if the answer is no.

Use cases

  • Serve appropriate video quality per device
  • Choose optimal format (AV1 vs H.264)
  • Detect hardware video decoding support
  • Improve mobile video performance dramatically
  • Build adaptive media players

Official Media Capabilities API documentation

Broadcast Channel API

Communication

Send messages between browser tabs or windows that have your site open at the same time.

Sync theme changes, logout events, or live updates across all open tabs simultaneously.

If someone has your site open in two tabs and changes their color theme in one, Broadcast Channel can apply it to the other tab instantly — no server needed.

Use cases

  • Sync dark/light mode across all open tabs
  • Log out all tabs simultaneously on sign-out
  • Sync shopping cart item counts
  • Real-time collaboration notifications
  • Theme changes that propagate everywhere

Official Broadcast Channel API documentation

Web Share API

Communication

Trigger the native OS share sheet — the same one used by every app on the device — from your website.

Replace custom social share buttons with the native share experience users already know, supporting every installed app.

On mobile, clicking Share opens the same menu as sharing from any app — Messages, WhatsApp, Instagram, whatever the user has. On desktop it shows a system dialog.

Use cases

  • Share blog posts with one tap
  • Share portfolio project links
  • Share products or coupon codes
  • Share event invites
  • Share generated art or custom quotes

Official Web Share API documentation

YouTube Data API

Creator Platforms

Access YouTube channel data, video stats, thumbnails, playlists, and search results programmatically.

Auto-display your latest uploads, show your subscriber count, or embed a live channel feed on your creator site.

With your API key, you can ask YouTube to give you any public data: your videos, subscriber count, thumbnails — and display them on your own site automatically.

Use cases

  • Auto-fetch and display your latest YouTube uploads
  • Show subscriber count as a live badge
  • Embed a playlist on your portfolio page
  • Display video view counts and stats
  • Build a full channel showcase section

Official YouTube Data API documentation

Vimeo Player API

Creator Platforms

Control Vimeo embedded videos with JavaScript — play, pause, seek, listen to events, and customize appearance.

Premium video experience for courses, portfolios, and product demos with full programmatic control.

Vimeo's SDK lets you write JavaScript that controls your embedded videos. Play, pause, check how far the user watched — all from your own code.

Use cases

  • Auto-play video when scrolled into view
  • Custom branded player skin
  • Track video completion for course gating
  • Control multiple videos in a gallery
  • Pause video when user switches tabs

Official Vimeo Player API documentation

Spotify Web API

Creator Platforms

Access the Spotify catalog — tracks, albums, artists, playlists, and audio feature data.

Build music-integrated sites, display your current playlist, or let visitors explore your curated listening.

With a Spotify Developer account and OAuth token, you can pull any public Spotify data — track info, album art, playlist contents — into your site.

Use cases

  • Display your current or favorite playlists
  • Show audio features (energy, tempo) visually
  • Build an ambient music widget for your site
  • Creator music recommendation section
  • Mood-based playlist display

Official Spotify Web API documentation

SoundCloud Widget API

Creator Platforms

Embed and fully control SoundCloud players with JavaScript — play, pause, get track info, and listen to events.

Feature your music tracks with a fully customized player experience that matches your site's aesthetic.

Embed a SoundCloud iframe, then use the Widget API to control it from your own JavaScript — play, pause, show track info — with full styling freedom.

Use cases

  • Custom branded SoundCloud player
  • Auto-play a track on portfolio visit
  • Episode list for podcast creators
  • Music + art portfolio combination
  • Track play count analytics

Official SoundCloud Widget API documentation

Google Maps Platform

Creator Platforms

Embed interactive maps, mark locations, calculate routes, and display business or venue information.

Show your studio location, create a venue guide, or build a location-based landing page.

Google Maps gives you a fully interactive map in a div. You control the location, zoom, markers, and style — including a dark mode that matches your site aesthetic.

Use cases

  • Studio, gallery, or event venue location
  • Service area map for local creators
  • Location-based portfolio context
  • Interactive city or venue guides
  • Local business showcase pages

Official Google Maps Platform documentation

OpenWeather API

Creator Platforms

Get real-time weather conditions, forecasts, and climate data for any location in the world.

Add a live weather widget, change site atmosphere based on local weather, or build location-aware content.

Pass a city name to the OpenWeather API and get back current temperature, weather condition, and icon. Completely free for basic usage.

Use cases

  • Local weather widget on a landing page
  • Change site theme or background based on weather
  • Weather-conditional offers or messaging
  • Travel or outdoor event site integration
  • Location-aware atmospheric greetings

Official OpenWeather API documentation

Stripe API

Creator Platforms

Accept payments, manage subscriptions, sell products, and run your entire creator commerce operation.

The most trusted payment infrastructure — used by millions of creators, indie makers, and businesses worldwide.

Stripe handles the actual payment processing. You create a checkout session with the price, and Stripe provides a secure hosted page. You get paid and they handle all the card security.

Use cases

  • Sell digital downloads, presets, and templates
  • Course or membership access gating
  • One-click tip jar or support button
  • Pay-what-you-want pricing pages
  • Creator subscription tiers

Official Stripe API documentation

Gumroad API

Creator Platforms

Access your Gumroad product catalog, sales data, and customer information programmatically.

Display your live product catalog, show real sales counts, or celebrate milestone numbers on your site.

The Gumroad API lets you read your own product data and display it anywhere. Show your products with live pricing and purchase counts pulled directly from Gumroad.

Use cases

  • Auto-display your product catalog on your site
  • Show real download or purchase counts
  • Dynamic product embeds with live data
  • Sales milestone celebration widgets
  • Showcase your bestselling products

Official Gumroad API documentation

Lemon Squeezy API

Creator Platforms

Manage products, subscriptions, license keys, and payments — with EU VAT handled automatically.

Great for SaaS products, digital downloads, and creator subscriptions with international tax compliance built in.

Lemon Squeezy handles payments and tax compliance globally. Their API lets you build custom storefronts, manage licenses, and automate subscription access from your own site.

Use cases

  • Display product pricing dynamically
  • Manage creator subscription tiers
  • Automated license key delivery
  • Multi-currency pricing display
  • Affiliate program management

Official Lemon Squeezy API documentation

Mailchimp API

Creator Platforms

Manage email lists, campaigns, automations, and subscriber data for your creator newsletter.

Grow and manage your audience, automate welcome sequences, and segment subscribers by interest.

Mailchimp's API lets you add subscribers to your list directly from your website — no embed code needed. Build a fully custom-styled signup form that sends data to Mailchimp.

Use cases

  • Custom newsletter signup form
  • Live subscriber count badge
  • Audience segmentation by interest
  • Trigger email sequences from site actions
  • Welcome series automation on signup

Official Mailchimp API documentation

ConvertKit API (Kit)

Creator Platforms

Manage subscribers, tags, sequences, and forms for your creator newsletter with powerful automation.

The most creator-focused email platform — tagging, automation, and audience segmentation built for content creators.

ConvertKit (now called Kit) is built for creators. Their API lets you add subscribers and apply tags directly from any form you build — perfect for segmenting your audience.

Use cases

  • Custom branded subscriber signup form
  • Tag subscribers by content interest
  • Trigger welcome automations on download
  • Segment audience by creator tier
  • Track form conversion rates

Official ConvertKit API (Kit) documentation

Discord Webhooks

Creator Platforms

Post automated messages to any Discord channel directly from your website — no Discord app required.

Notify your community of new launches, blog posts, purchases, or signups automatically.

Create a webhook URL from your Discord server settings, then send a POST request to it from JavaScript. That's it — your message appears in the channel instantly.

Use cases

  • New subscriber announcement in community Discord
  • Product sale or launch notification
  • New blog post alert to community channel
  • New portfolio piece announcement
  • Support ticket routing to Discord

Official Discord Webhooks documentation

Instagram Graph API

Creator Platforms

Access your Instagram media, profile data, and insights through the official Meta API.

Display your latest Instagram posts on your portfolio or creator site as a live, auto-updating feed.

Using an access token from Meta's Developer dashboard, you can pull your own Instagram photos and display them anywhere on your site — no embed code or widget needed.

Use cases

  • Latest Instagram posts on portfolio
  • Photo gallery synced to your Instagram
  • Follower count social proof badge
  • Visual content hub from Instagram
  • Gallery with links to individual posts

Official Instagram Graph API documentation

GIPHY API

Creator Platforms

Search and embed GIFs, stickers, and animated content from GIPHY's library of millions.

Add personality, reaction GIFs, and animated branding elements to your creator site or app.

Get a free GIPHY API key, then fetch GIFs by search term or trending. Display them as <img> tags anywhere on your site — each with a proper credit link back to GIPHY.

Use cases

  • Reaction GIF search widget
  • Animated sticker decorations
  • Brand personality via curated GIF collections
  • Fun and memorable 404 error pages
  • Celebratory moments on purchase completion

Official GIPHY API documentation

Algolia Search API

Creator Platforms

Instant, typo-tolerant search for your content — dramatically faster and smarter than basic text filtering.

Give your portfolio, blog, or product library a premium search experience with sub-millisecond results.

You upload your content to Algolia, and their API searches it instantly as users type. Even with typos. Results appear in under 10ms — faster than any custom search you could build.

Use cases

  • Instant portfolio or project search
  • Product catalog search with category facets
  • Blog and resource library search
  • Creator tool or snippet library search
  • Real-time filtering with spelling correction

Official Algolia Search API documentation

Cloudinary API

Creator Platforms

Cloud-based image and video transformation — resize, optimize, apply effects, and convert formats via URL parameters.

One URL parameter resizes, compresses, and converts images for every device automatically — no Photoshop needed.

Upload an image to Cloudinary once. Then transform it for any use case just by changing the URL — add w_800 and it serves at 800px wide, add f_auto and it picks the best format automatically.

Use cases

  • Auto-optimize images for mobile vs desktop
  • Apply branded overlays or watermarks to photos
  • Generate social media preview thumbnails
  • Video transcoding for different screen sizes
  • Dynamic product image variations on demand

Official Cloudinary API documentation

Unsplash API

Creator Platforms

Access over 3 million free high-quality photos with search, collections, and random photo endpoints.

Pull stunning free photography into creator projects without copyright concerns — free for most usage.

Register a free app on Unsplash, get an access key, and you can search millions of professional photos by keyword — perfect for filling your site with beautiful imagery.

Use cases

  • Dynamic hero photos that change daily
  • Content placeholder photography
  • Mood board or inspiration generator
  • Background image library with search
  • Travel or lifestyle site photography

Official Unsplash API documentation

Pexels API

Creator Platforms

Search and use free professional stock photos and videos from Pexels' curated library.

Free commercial-use stock photography and video b-roll for creator projects — no attribution required.

Get a free Pexels API key and search their entire library by keyword. Every photo is free to use commercially — pull them dynamically into your site without any licensing hassle.

Use cases

  • Hero section background photography
  • Product lifestyle context images
  • Video b-roll embeds
  • Article and blog illustration photos
  • Atmospheric background videos

Official Pexels API documentation