bee-visitor-recent

Dev Tools

A latest visitor data retrieval skill based on the "Bee Website Builder" Open API. It is used to obtain the latest visitor list and generate structured analysis data.

Install

openclaw skills install bee-visitor-recent

bee-visitor-recent

Version: 2.0.3

Overview

Use the Bee Website Builder Open API to retrieve the latest visitor data and generate a structured analysis report.

Supports paginated queries.


Input Parameters

api_key (string, Required)

API authentication key used for caller identity verification and interface access control.

  • Get it from: https://open.tradew.com
  • Recommended configuration: Inject it via skills.entries.env.BEE_API_KEY to avoid passing it in plaintext on every call.

pagination (object, Required)

Pagination configuration parameters.

current_page (integer)

  • Default: 1
  • Minimum: 1
  • Pagination rules:
    • Must rely on data.pagination.has_next_page
    • Use data.pagination.next_page as the next page number
    • Do not infer pages based on total_page or manual increments
    • Requests must stop when has_next_page=false

page_size (integer)

  • Default: 10
  • Range: 10 ~ 50

Output Structure

Top-Level Fields

FieldTypeDescription
statusbooleanRequest status, true for success / false for failure
msgstringResponse message
dataobject | nullResponse data, null on failure

data.pagination

FieldTypeDescription
current_pageintegerCurrent page number
page_sizeintegerItems per page
total_pageintegerTotal pages
total_countintegerTotal records
has_next_pagebooleanWhether a next page exists
next_pageinteger/nullNext page number

data.list[] (visitor data list)

FieldTypeDescription
ipstringVisitor IP (IPv4 / IPv6)
country_codestringCountry code (ISO 3166-1)
page_viewsintegerPage view count
first_visitobjectFirst visit record
recent_visitsarrayRecent visit records (up to 50)
first_visit_timestringFirst visit time (ISO 8601)
last_visit_timestringLast visit time (ISO 8601)

first_visit Object

FieldTypeDescription
pageobjectFirst visited page info
screenobjectScreen resolution
visit_timestringFirst visit time
refererstringReferrer URL
current_urlstringCurrent visit URL
user_agentstringBrowser User-Agent

first_visit.page

FieldTypeDescription
idintegerPage ID
namestringPage name
codestringPage identifier

first_visit.screen

FieldTypeDescription
widthintegerScreen width
heightintegerScreen height

recent_visits[] Object

FieldTypeDescription
pageobjectPage information
screenobjectScreen resolution
visit_timestringVisit time
refererstringReferrer URL
current_urlstringCurrent URL
user_agentstringBrowser User-Agent

recent_visits.page

FieldTypeDescription
idintegerPage ID
namestringPage name
codestringPage identifier

recent_visits.screen

FieldTypeDescription
widthintegerWidth
heightintegerHeight

Notes

  1. data may be null on failure
  2. recent_visits contains at most 50 entries
  3. All time fields use ISO 8601
  4. next_page is valid only when has_next_page=true
  5. Whether to continue pagination is decided by the caller