1. DEMO
API Documents - GuGuData | Production-Ready APIs Built for Developers
  • GuGuData API documents
  • Metadata
    • DEMO
      • Get demo programme data for a global university
      • [DEMO] Chinese Poem
      • [DEMO] Stock HK Symbols
      • Get demo data for global university ranking
      • [DEMO] Global University
      • [DEMO] Global QS World University Rankings
      • [DEMO] US CIP Codes
      • [DEMO] US College Institutions Data API
      • [DEMO] US College Programs Data API
      • [DEMO] Stock US Symbols
    • Chinese Poem
    • Stock HK Symbols
    • Stock US Symbols
    • Global University
    • Get programme data for a global university
    • US College Institution Detail
    • Get global university ranking data
    • US College Institution Programs
    • Global QS World University Rankings
    • Chinese Poem
    • US CIP Codes Search
    • Get a hosted global university logo
    • US College Institutions Search
    • Get US college institution details
    • Get programs for a US college institution
    • US College Programs Search
  • Website Tools
    • DEMO
      • [DEMO] Article Content Extraction API
        GET
      • [DEMO] Extract Images from Article URL API
        GET
      • [DEMO] Article Extract
        GET
      • [DEMO] Domain DNS Information Query
        GET
      • [DEMO] Geographic Coordinate System Converter
        GET
      • [DEMO] IP Address
        GET
      • [DEMO] PageSpeed and SEO Score API
        GET
      • [DEMO] Format International Phone
        GET
      • [DEMO] Webpage Readable Content Extraction
        GET
      • [DEMO] Search Visibility API
        GET
      • [DEMO] Short Link API
        GET
      • [DEMO] Domain SSL Certificate Information Parsing
        GET
      • [DEMO] Extract Structured JSON from Webpage
        GET
      • [DEMO] Website Snapshot
        GET
      • [DEMO] Get URL links
        GET
      • [DEMO] URL to static HTML
        GET
      • [DEMO] URL to Image
        GET
      • [DEMO] URL to Markdown
        GET
      • [DEMO] Query Website Favicon and Title
        GET
      • [DEMO] Domain Whois
        GET
    • Geographic Coordinate System Converter
      GET
    • Article Content Extraction API
      POST
    • Extract Images from Article URL API
      POST
    • Article Extract
      POST
    • extractFromHtml
      POST
    • Domain DNS Information Query
      GET
    • IP Address
      GET
    • PageSpeed and SEO Score API
      GET
    • Score webpage performance and SEO signals
      POST
    • Format International Phone
      GET
    • Format International Phone
      GET
    • Webpage Readable Content Extraction
      POST
    • Search Visibility API
      POST
    • Short Link API
      POST
    • Get short link
      GET
    • Update short link
      PATCH
    • Redirect short link
      GET
    • Domain SSL Certificate Information Parsing
      GET
    • Extract Structured JSON from Webpage
      POST
    • Website Snapshot
      POST
    • Get URL links
      GET
    • URL to static HTML
      POST
    • URL to Image
      GET
    • Convert Webpage to Image
      POST
    • URL to Markdown
      POST
    • Query Website Favicon and Title
      GET
    • Domain Whois
      GET
  • Image Recognition
    • DEMO
      • [DEMO] Convert HTML to Word
      • [DEMO] Image Compress
      • [DEMO] Image OCR
      • [DEMO] Image OCR to Word API
      • [DEMO] HTML to PDF
      • [DEMO] Markdown to PDF
      • [DEMO] OCR API
      • [DEMO] PDF Splitting
      • [DEMO] PDF Summary
      • [DEMO] PDF to Format
      • [DEMO] PDF to HTML
      • [DEMO] PDF OCR to Text API
      • [DEMO] PDF OCR to Word API
      • [DEMO] PPT to Images
      • [DEMO] Convert PPT to PDF
      • [DEMO] Word to HTML
    • Convert HTML to Word
    • Image Compress
    • Image OCR
    • Image OCR to Word API
    • HTML to PDF
    • Markdown to PDF
    • PDF Splitting
    • OCR API
    • PDF Summary
    • PDF to Format
    • PDF to HTML
    • PDF OCR to Text API
    • PDF OCR to Word API
    • PPT to Images
    • Convert PPT to PDF
    • Word to HTML
  • QRcode and Barcode
    • DEMO
      • [DEMO] Bar Code
      • [DEMO] Decode QR Code from Image
      • [DEMO] QR Code
      • [DEMO] Wifi QR Code
    • Bar Code
    • Decode QR Code from Image
    • QR Code
    • Wifi QR Code
  • Text Tools
    • DEMO
      • [DEMO] ISBN Book Metadata Lookup
      • [DEMO] Detect Text Language
      • [DEMO] Simplified and Traditional Chinese Converter
      • [DEMO] Text Similarity Calculator
    • Simplified and Traditional Chinese Converter
    • ISBN Book Metadata Lookup
    • Detect Text Language
    • Simplified and Traditional Chinese Converter
    • Text Similarity Calculator
  • healthcheck
    GET
  • Schemas
    • BarcodeRequest
    • CertificateInfoDTO
    • Chinese Script Conversion Request
    • Comparator«string»
    • CreateShortLinkRequest
    • DetectLanguageRequest
    • Education Response Metadata
    • Global University Programmes Response
    • Global University Ranking Response
    • Global University Response
    • HK Stock Symbol
    • HK Stock Symbols Response
    • IPLocationResponse
    • JSONConfig
    • PageSpeedScoreRequest
    • QRCodeRequest
    • Response Metadata
    • SearchVisibilityMatch
    • SearchVisibilityMetrics
    • SearchVisibilityObservedItem
    • SearchVisibilityRequest
    • SearchVisibilityResponse
    • SearchVisibilitySearchMetadata
    • ShortLinkResponse
    • Text Similarity Request
    • US CIP Code Data
    • US CIP Code Response
    • US College Institution Data
    • US College Institution Response
    • US College Program Data
    • US College Program Response
    • US Stock Symbol
    • US Stock Symbols Response
    • University Data
    • University Programme Data
    • UpdateShortLinkRequest
    • Url2JsonRequestDTO
    • UrlSnapshotRequest
    • UrlSnapshotResponse
    • WebPageRequestDTO
    • WebPageToImageRequestDTO
    • WebSiteFaviconDTO
    • WhoisEntityDTO
    • WifiQRCodeRequest
  1. DEMO

[DEMO] Short Link API

GET
https://api.gugudata.io/v1/shortLinks/demo
Website Tools
Last modified:2026-07-29 05:16:01
Short Link API
Create short URLs on guguurl.com, manage destination URLs and expiration times, disable links when needed, and track total clicks through a simple REST API.
Method: POST
Path: /v1/shortLinks
Demo: https://api.gugudata.io/v1/shortLinks/demo
OpenAPI: https://gugudata.io/assets/openapi/gugudata.openapi.3.1.json
Request Parameters:
appkey (string, required): Application key used for request authentication. Supply the value as a query parameter, form field, or multipart field according to the request content type.
longUrl (string, required): Destination URL. Must use HTTP or HTTPS.
shortLinkId (string, optional): Optional custom short link ID. Use 4 to 32 letters, numbers, underscores, or hyphens.
expireTime (string, optional): Optional expiration time.
Response Fields:
data.name (string, required): Resource name of the created short link.
data.shortLinkId (string, required): Short link ID.
data.shortUrl (string, required): Generated short URL.
data.longUrl (string, required): Destination URL.
data.state (string, required): Short link state. ACTIVE links redirect; DISABLED links do not redirect.
data.clickCount (integer, required): Total redirect count.
data.expireTime (string, optional): Expiration time, if set.
HTTP Status Codes:
200: Request processed successfully. Some endpoints expose a separate application-level status field in the response body, such as dataStatus.statusCode.
400: Invalid request parameters or request format. Check required fields, data types, and request body format.
401: Missing or unknown application key. Provide a valid appkey with the request.
403: The application key is recognized but access is not allowed. The key may be expired, inactive, or not permitted for the requested API.
429: Request rate or trial usage limit exceeded. Reduce concurrency or retry after the limit window resets.
500: Internal service error. Retry later or contact support if the error persists.
503: Upstream service unavailable. Retry later; the requested upstream dependency is temporarily unavailable.
Business Status Codes:
200 Normal return: Short link created or returned successfully
400 Parameter error: Missing or invalid request parameters
403 Permission denied: A paid API key is required
404 Short link not found: The requested short link does not exist or is not available to the current account
409 Short link ID already exists: The requested custom short link ID is already in use
410 Short link unavailable: The short link is disabled or expired
Key Features:
Create short URLs on guguurl.com for sharing, campaigns, and app redirects.
Use custom short link IDs or automatically generated codes.
Set optional expiration times for temporary links.
Update destination URLs or disable links when campaigns end.
Track total click counts and last access time.
Keep public short links on a dedicated short domain.
Details:
https://gugudata.io/details/shortlink

Request

None

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://api.gugudata.io/v1/shortLinks/demo'

Responses

🟢200成功
*/*
OK
Body*/*

Example
{
    "clickCount": 0,
    "createTime": "2019-08-24T14:15:22.123Z",
    "expireTime": "2019-08-24T14:15:22.123Z",
    "lastAccessTime": "2019-08-24T14:15:22.123Z",
    "longUrl": "string",
    "name": "string",
    "shortLinkId": "string",
    "shortUrl": "string",
    "state": "string",
    "updateTime": "2019-08-24T14:15:22.123Z"
}
🟠401
🟠403
🟠404
Modified at 2026-07-29 05:16:01
Previous
[DEMO] Search Visibility API
Next
[DEMO] Domain SSL Certificate Information Parsing
Built with