> ## Documentation Index
> Fetch the complete documentation index at: https://docs.perceptlayer.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Perceptlayer is a web data API: one key for structured JSON from about 250 websites. Base URL https://api.perceptlayer.com.
> Send the key in the X-API-Key header. GET parameters go in the query string; POST parameters in a JSON body.
> A successful call costs the credits on its endpoint (X-Credits-Used); failed calls cost nothing. Errors are {"error": {"code", "message", "request_id"}}.
> AI agents can use every endpoint through the MCP server at https://api.perceptlayer.com/mcp (tools search_endpoints, get_endpoint, call_endpoint), with Authorization: Bearer <key>.
> Get a free key at https://perceptlayer.com/signup.

# Semrush: Trending

> Trending from Semrush. Costs 1 credit per successful call.

> [!WARNING]
>
> This endpoint needs the [restricted-endpoint terms](https://perceptlayer.com/legal/restricted-endpoints), which you accept in your [dashboard](https://perceptlayer.com/dashboard/account). Until then it returns `403 restricted_endpoint`.

1 credit per successful call; failed calls are free. See the [Semrush API overview](https://perceptlayer.com/apis/semrush) for every Semrush endpoint.


## OpenAPI

````yaml /openapi.json get /v1/semrush/trending
openapi: 3.1.0
info:
  title: Perceptlayer API
  version: 1.0.0
  description: >-
    One API key for structured web data. Each successful call costs the credits
    shown on its endpoint; failed calls are free.
servers:
  - url: https://api.perceptlayer.com
security:
  - ApiKeyAuth: []
tags:
  - name: 99acres
  - name: Agoda
  - name: Airbnb
  - name: AliExpress
  - name: Apartments.com
  - name: Apple App Store
  - name: Aramisauto
  - name: Arbeitsagentur Jobs
  - name: Argenprop
  - name: Autohero
  - name: AutoScout24
  - name: AutoTempest
  - name: AutoTrack.nl
  - name: Autotrader
  - name: AutoTrader.ca
  - name: AutoTrader UK
  - name: AutoUncle
  - name: Autovit
  - name: Baidu
  - name: Bandcamp
  - name: Bayut
  - name: Behance
  - name: Bien'ici
  - name: Bilbasen
  - name: Bilibili
  - name: Billiger.de
  - name: Bing
  - name: Blocket Bil
  - name: Bluesky
  - name: Boliga
  - name: Booking.com
  - name: Booli
  - name: Brave Search
  - name: Bring a Trailer
  - name: Capterra
  - name: CarDekho
  - name: CarGurus
  - name: CarMax
  - name: Cars & Bids
  - name: Cars.com
  - name: Cars24
  - name: Carsales
  - name: Carvana
  - name: Carwow
  - name: Casa.it
  - name: Centris
  - name: Coches.net
  - name: Copart
  - name: Craigslist
  - name: Crexi
  - name: Daft.ie
  - name: Dailymotion
  - name: DBA
  - name: Depop
  - name: DeviantArt
  - name: Dice
  - name: Domain Availability
  - name: Domain.com.au
  - name: Dribbble
  - name: Dubizzle
  - name: DuckDuckGo
  - name: eBay
  - name: Economy Car Rentals
  - name: Edmunds
  - name: Eventbrite
  - name: Expedia
  - name: Facebook
  - name: Facebook Ad Library
  - name: Fincaraiz
  - name: FINN
  - name: FINN Bil
  - name: Flickr
  - name: FlixBus
  - name: Fotocasa
  - name: Geizhals
  - name: Genius
  - name: GetYourGuide
  - name: GitHub
  - name: Glassdoor
  - name: Goodreads
  - name: Google Ads Transparency
  - name: Google Events
  - name: Google Finance
  - name: Google Flights
  - name: Google Forums
  - name: Google Hotels
  - name: Google Images
  - name: Google Jobs
  - name: Google Lens
  - name: Google Local
  - name: Google Local Services
  - name: Google Maps
  - name: Google News
  - name: Google Patents
  - name: Google Play
  - name: Google Related Questions
  - name: Google Scholar
  - name: Google Search
  - name: Google Shopping
  - name: Google Short Videos
  - name: Google Translate
  - name: Google Travel Explore
  - name: Google Trends
  - name: Google Videos
  - name: Gumtree
  - name: Habitaclia
  - name: Hacker News
  - name: Hemnet
  - name: heycar
  - name: HolidayCheck
  - name: Holidu
  - name: Homegate
  - name: HomeToGo
  - name: Hostelworld
  - name: HotPads
  - name: IAAI
  - name: Idealista
  - name: Idealo
  - name: Imgur
  - name: ImmobilienScout24
  - name: ImmobilienScout24 Austria
  - name: ImmoScout24 Switzerland
  - name: Immoweb
  - name: Immowelt
  - name: Imovirtual
  - name: Impressum Extraction
  - name: Indeed
  - name: InfoJobs
  - name: Inmuebles24
  - name: Instagram
  - name: Jameda
  - name: Kavak
  - name: Kayak Flights
  - name: Kayak
  - name: Kelley Blue Book
  - name: Kick
  - name: Kijiji
  - name: Kiwi.com
  - name: Kleinanzeigen
  - name: kununu
  - name: Kwai
  - name: La Centrale
  - name: Leboncoin Autos
  - name: Leboncoin Immo
  - name: Lemmy
  - name: Letterboxd
  - name: Link in Bio
  - name: LinkedIn
  - name: Linktree
  - name: LLM Answers
  - name: LoopNet
  - name: Madlan
  - name: MagicBricks
  - name: Marktplaats
  - name: Marktplaats Autos
  - name: Mastodon
  - name: Medium
  - name: Mercado Libre
  - name: Metrocuadrado
  - name: Milanuncios
  - name: Mixcloud
  - name: mobile.de
  - name: Motors.co.uk
  - name: MyAnimeList
  - name: Naukri
  - name: Naver
  - name: North Data
  - name: Odysee
  - name: OfferUp
  - name: Ohne-Makler
  - name: OLX Poland
  - name: Omio
  - name: OnTheMarket
  - name: Otodom
  - name: Otomoto
  - name: Patreon
  - name: Pinterest
  - name: Private Property
  - name: Product Hunt
  - name: Property Finder
  - name: realestate.com.au
  - name: Realtor.ca
  - name: Redfin
  - name: Reed
  - name: Rentalcars.com
  - name: Rentalia
  - name: Ricardo
  - name: Rightmove
  - name: Rumble
  - name: SEEK
  - name: SeLoger
  - name: Semrush
  - name: Similarweb
  - name: Skyscanner
  - name: Snapchat
  - name: SoundCloud
  - name: SpareRoom
  - name: Spotahome
  - name: Spotify
  - name: Sreality
  - name: Standvirtual
  - name: Startpage
  - name: Steam
  - name: StepStone
  - name: Subito
  - name: Subito Motori
  - name: Substack
  - name: SuperCasa
  - name: Telegram
  - name: Threads
  - name: TikTok
  - name: Trade Me Property
  - name: Trainline
  - name: Tripadvisor
  - name: Trivago
  - name: TrueCar
  - name: Trulia
  - name: Trusted Shops
  - name: Trustpilot
  - name: Truth Social
  - name: Tumblr
  - name: tutti.ch
  - name: Twitch
  - name: Viator
  - name: Vimeo
  - name: Vinted
  - name: VivaReal
  - name: VK
  - name: Vrbo
  - name: Wallapop
  - name: Walmart
  - name: Web Scraper
  - name: Weibo
  - name: Welcome to the Jungle
  - name: WG-Gesucht
  - name: willhaben
  - name: wlw
  - name: X (Twitter)
  - name: XING Jobs
  - name: Yad2
  - name: Yaencontre
  - name: Yahoo Search
  - name: Yelp
  - name: YouTube
  - name: Zillow
  - name: Zonaprop
  - name: Zoopla
  - name: Zumper
paths:
  /v1/semrush/trending:
    get:
      tags:
        - Semrush
      summary: Trending
      description: Trending from Semrush. Costs 1 credit per successful call.
      operationId: semrush_trending
      parameters:
        - name: country
          in: query
          required: false
          schema:
            type: string
            enum:
              - ad
              - ae
              - af
              - ag
              - ai
              - al
              - am
              - ao
              - aq
              - ar
              - as
              - at
              - au
              - aw
              - ax
              - az
              - ba
              - bb
              - bd
              - be
              - bf
              - bg
              - bh
              - bi
              - bj
              - bl
              - bm
              - bn
              - bo
              - bq
              - br
              - bs
              - bt
              - bv
              - bw
              - by
              - bz
              - ca
              - cc
              - cd
              - cf
              - cg
              - ch
              - ci
              - ck
              - cl
              - cm
              - cn
              - co
              - cr
              - cv
              - cw
              - cx
              - cy
              - cz
              - de
              - dj
              - dk
              - dm
              - do
              - dz
              - ec
              - ee
              - eg
              - eh
              - er
              - es
              - et
              - fi
              - fj
              - fk
              - fm
              - fo
              - fr
              - ga
              - gb
              - gd
              - ge
              - gf
              - gg
              - gh
              - gi
              - gl
              - gm
              - gn
              - gp
              - gq
              - gr
              - gs
              - gt
              - gu
              - gw
              - gy
              - hk
              - hm
              - hn
              - hr
              - ht
              - hu
              - id
              - ie
              - il
              - im
              - in
              - io
              - iq
              - is
              - it
              - je
              - jm
              - jo
              - jp
              - ke
              - kg
              - kh
              - ki
              - km
              - kn
              - kr
              - kw
              - ky
              - kz
              - la
              - lb
              - lc
              - li
              - lk
              - lr
              - ls
              - lt
              - lu
              - lv
              - ma
              - mc
              - md
              - me
              - mf
              - mg
              - mh
              - mk
              - ml
              - mn
              - mo
              - mp
              - mq
              - mr
              - ms
              - mt
              - mu
              - mv
              - mw
              - mx
              - my
              - mz
              - na
              - nc
              - ne
              - nf
              - ng
              - ni
              - nl
              - 'no'
              - np
              - nr
              - nu
              - nz
              - om
              - pa
              - pe
              - pf
              - pg
              - ph
              - pk
              - pl
              - pm
              - pr
              - ps
              - pt
              - pw
              - py
              - qa
              - re
              - ro
              - rs
              - ru
              - rw
              - sa
              - sb
              - sc
              - se
              - sg
              - sh
              - si
              - sj
              - sk
              - sl
              - sm
              - sn
              - so
              - sr
              - ss
              - st
              - sv
              - sx
              - sz
              - tc
              - td
              - tg
              - th
              - tj
              - tk
              - tl
              - tm
              - tn
              - to
              - tr
              - tt
              - tv
              - tw
              - tz
              - ua
              - ug
              - us
              - uy
              - uz
              - va
              - vc
              - ve
              - vg
              - vi
              - vn
              - vu
              - wf
              - ws
              - global
              - ye
              - yt
              - za
              - zm
              - zw
          example: global
        - name: category
          in: query
          required: false
          schema:
            type: string
            enum:
              - accounting-and-auditing
              - adult
              - advertising-and-marketing
              - aerospace-and-defense
              - agriculture
              - airlines
              - apparel-and-fashion
              - architecture
              - automotive
              - banking
              - beauty-and-cosmetics
              - biotech
              - ceramics-and-pottery
              - chemicals
              - civil-engineering
              - comics-and-animation
              - computer-and-video-games
              - computer-hardware
              - computers-and-electronics
              - computer-software-and-development
              - construction-and-maintenance
              - consulting
              - consumer-electronics
              - crafts
              - customer-services
              - design
              - distance-learning
              - ecology-and-environment
              - education
              - entertainment
              - equipment-and-supplies
              - events-services
              - facilities-services
              - farms-and-ranches
              - finance
              - fishery
              - food-and-beverages
              - foreign-language
              - furniture
              - gambling
              - government
              - graphic-design
              - healthcare
              - hospitality
              - human-resources
              - import-and-export
              - information-technology
              - insurance
              - investment
              - jewelry-and-luxury-products
              - legal
              - libraries
              - machinery
              - mail-and-package-delivery
              - manufacturing
              - maritime
              - market-research
              - mass-media
              - medical-devices-and-equipment
              - mental-health
              - metals-and-mining
              - military
              - museums
              - music
              - nanotechnology
              - newspapers
              - nonprofit-organizations
              - oil-and-gas
              - online-services
              - outsourcing
              - packaging-and-containers
              - performing-arts
              - pharmaceuticals
              - photography
              - plastics-and-polymers
              - political-organizations
              - printing
              - public-policy
              - public-relations
              - public-safety
              - public-utility
              - publishing
              - real-estate
              - recreational-facilities
              - recruitment-and-staffing
              - reference
              - religion-and-belief
              - renewable-energy
              - restaurants
              - retail
              - science
              - security-products-and-services
              - social-and-charitable-organizations
              - sporting-goods
              - sports
              - telecom
              - textiles-and-nonwovens
              - tobacco
              - training-and-certification
              - transportation-and-logistics
              - travel-and-tourism
              - tv-and-movies
              - venture-capital
              - veterinary
              - visual-art
              - warehousing
              - wellness
              - wholesalers-and-liquidators
              - wine-and-spirits
              - writing-and-editing-services
              - all
          example: all
      responses:
        '200':
          description: Success
          headers:
            X-Request-Id:
              $ref: '#/components/headers/RequestId'
            X-Credits-Used:
              $ref: '#/components/headers/CreditsUsed'
            X-Credits-Remaining:
              $ref: '#/components/headers/CreditsRemaining'
            RateLimit-Limit:
              $ref: '#/components/headers/RateLimitLimit'
            RateLimit-Remaining:
              $ref: '#/components/headers/RateLimitRemaining'
            RateLimit-Reset:
              $ref: '#/components/headers/RateLimitReset'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimitPolicy'
          content:
            application/json:
              schema:
                type: object
        '401':
          $ref: '#/components/responses/Error'
        '402':
          $ref: '#/components/responses/Error'
        '403':
          $ref: '#/components/responses/Error'
        '404':
          $ref: '#/components/responses/Error'
        '410':
          $ref: '#/components/responses/Error'
        '422':
          $ref: '#/components/responses/Error'
        '429':
          $ref: '#/components/responses/Error'
        '502':
          $ref: '#/components/responses/Error'
        '503':
          $ref: '#/components/responses/Error'
        '504':
          $ref: '#/components/responses/Error'
components:
  headers:
    RequestId:
      description: Unique ID for this request; quote it in support requests.
      schema:
        type: string
    CreditsUsed:
      description: Credits charged for this call (0 when it failed).
      schema:
        type: integer
    CreditsRemaining:
      description: Your balance after this call.
      schema:
        type: integer
    RateLimitLimit:
      description: >-
        Requests a minute your account may make: its rate in requests per second
        times 60.
      schema:
        type: integer
    RateLimitRemaining:
      description: Requests left in the current minute, shared by every key on the account.
      schema:
        type: integer
    RateLimitReset:
      description: Seconds until the current minute's count starts over.
      schema:
        type: integer
    RateLimitPolicy:
      description: The limit and its window in seconds, for example "300;w=60".
      schema:
        type: string
  responses:
    Error:
      description: Error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  schemas:
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - code
            - message
            - request_id
          properties:
            code:
              type: string
            message:
              type: string
            request_id:
              type: string
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.