socialcrawl-mcp 2.3.0 → 2.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. package/README.md +9 -3
  2. package/dist/app.js +71 -12
  3. package/dist/chatgpt-text.d.ts +23 -0
  4. package/dist/chatgpt-text.js +310 -0
  5. package/dist/client.d.ts +5 -0
  6. package/dist/client.js +9 -1
  7. package/dist/constants.d.ts +1 -1
  8. package/dist/constants.js +1 -1
  9. package/dist/context.d.ts +7 -0
  10. package/dist/cost-guard.d.ts +28 -3
  11. package/dist/cost-guard.js +69 -6
  12. package/dist/data/docs-async.d.ts +1 -1
  13. package/dist/data/docs-async.js +147 -137
  14. package/dist/data/docs-handwritten.js +968 -947
  15. package/dist/data/docs.js +5 -1
  16. package/dist/data/endpoints.js +2050 -941
  17. package/dist/data/examples.js +2 -2
  18. package/dist/data/guide.d.ts +2 -2
  19. package/dist/data/guide.js +2 -2
  20. package/dist/data/outputs.js +196 -159
  21. package/dist/data/platforms.js +13 -13
  22. package/dist/data/recipes.js +1 -1
  23. package/dist/data/registry-meta.d.ts +9 -9
  24. package/dist/data/registry-meta.js +9 -9
  25. package/dist/endpoint-resolve.d.ts +1 -0
  26. package/dist/endpoint-resolve.js +10 -1
  27. package/dist/endpoint-surface.d.ts +64 -0
  28. package/dist/endpoint-surface.js +478 -0
  29. package/dist/held-surfaces.d.ts +13 -2
  30. package/dist/held-surfaces.js +16 -3
  31. package/dist/hydration.js +7 -0
  32. package/dist/instructions.md +18 -18
  33. package/dist/listings.d.ts +24 -0
  34. package/dist/listings.js +55 -0
  35. package/dist/oauth/config.d.ts +20 -0
  36. package/dist/oauth/config.js +19 -0
  37. package/dist/oauth/resource-server.d.ts +12 -2
  38. package/dist/oauth/resource-server.js +5 -20
  39. package/dist/oauth/scopes.d.ts +2 -2
  40. package/dist/oauth/scopes.js +4 -4
  41. package/dist/param-aliases.d.ts +7 -0
  42. package/dist/param-aliases.js +15 -0
  43. package/dist/pricing.js +5 -1
  44. package/dist/resources/sample-gate.js +34 -1
  45. package/dist/resources/supplier-tokens.d.ts +1 -1
  46. package/dist/resources/supplier-tokens.js +2 -0
  47. package/dist/result.js +8 -0
  48. package/dist/schemas/async.d.ts +39 -12
  49. package/dist/schemas/async.js +40 -4
  50. package/dist/schemas/outputs.d.ts +2 -2
  51. package/dist/server.js +1 -1
  52. package/dist/timeouts.d.ts +24 -1
  53. package/dist/timeouts.js +32 -0
  54. package/dist/tools/async-common.d.ts +4 -2
  55. package/dist/tools/async-common.js +10 -2
  56. package/dist/tools/discover-runs.d.ts +6 -3
  57. package/dist/tools/discover-runs.js +126 -7
  58. package/dist/tools/discover.js +3 -0
  59. package/dist/tools/list-endpoints.js +5 -3
  60. package/dist/tools/manage.js +5 -4
  61. package/dist/tools/pricing.js +41 -10
  62. package/dist/tools/request.js +10 -2
  63. package/dist/tools/search-runs.js +27 -3
  64. package/dist/types.d.ts +9 -1
  65. package/dist/unit-meters.d.ts +32 -0
  66. package/dist/unit-meters.js +137 -0
  67. package/dist/value-prices.d.ts +38 -0
  68. package/dist/value-prices.js +168 -0
  69. package/package.json +3 -3
@@ -15,7 +15,7 @@ export const PLATFORMS = [
15
15
  {
16
16
  slug: "tiktok",
17
17
  name: "TikTok",
18
- endpointCount: 38,
18
+ endpointCount: 39,
19
19
  social: true,
20
20
  category: "major",
21
21
  description: "Profiles, videos, comments and replies (incl. direct comment lookup), on-screen video text extraction, keyword/hashtag/top/user/music search plus search suggestions, mentions of an account (search/mentions), hashtag details, the trending feed (worldwide or the in-country For You feed), TikTok's own popular-hashtag and Top Videos leaderboards, audience demographics, similar accounts (with an Instagram-graph fallback), followers, following, a user's liked videos, playlists and collections, place-tagged videos, effects and effect feeds, live streams, songs, video transcripts, profile region lookup, and the TikTok Ad Library (ad details, ad search with age, reach and gender targeting filters, top ads with an optional per-ad retention curve). `include=exact_counts` swaps rounded counts for exact ones on a post and on the first rows of 11 video lists; `include=account` adds a profile's creation date and posting region.",
@@ -23,7 +23,7 @@ export const PLATFORMS = [
23
23
  {
24
24
  slug: "instagram",
25
25
  name: "Instagram",
26
- endpointCount: 44,
26
+ endpointCount: 46,
27
27
  social: true,
28
28
  category: "major",
29
29
  description: "Profiles, account transparency details (profile/about), posts, reels, comments and comment replies (incl. direct comment lookup), story highlights, stories, tagged posts, location feeds, followers, following, similar accounts, post likers, post-reshare stats, reels/posts feeds with per-item share counts in one call (profile/reels/full, profile/posts/full), account engagement analytics, universal search across accounts/hashtags/places, popular-post search, reels/hashtag/profile/location/music search (reel search with per-creator cards via include=creator), username suggestions, mentions of an account (search/mentions), declared account country by user id (profile/country), exact hashtag size (hashtag), location profiles (location), comment likers, trending reels and music, Instagram's own trending search terms (trending/searches), audio reels, embed HTML, on-screen text (OCR) from any image or video frame, and AI-powered media transcripts.",
@@ -39,23 +39,23 @@ export const PLATFORMS = [
39
39
  {
40
40
  slug: "twitter",
41
41
  name: "Twitter/X",
42
- endpointCount: 18,
42
+ endpointCount: 28,
43
43
  social: true,
44
44
  category: "major",
45
- description: "Profiles and X's About-this-account details (profile/about: country the account is based in, sign-up source, username changes, verification breakdown), tweets and their replies, tweet search, hashtag search and account-mention search, user search, a user's media tweets, followers, following, retweeters, communities, community tweets, video transcripts, and AI-powered natural-language X search via Grok with citations.",
45
+ description: "Profiles and X's About-this-account details (profile/about: country the account is based in, sign-up source, username changes, verification breakdown), tweets and their replies (an X Article post carries its full body), the full text of an X Article (article), the posts that quote a post (tweet/quotes), tweet search, hashtag search and account-mention search, user search, a user's media tweets, followers, following, retweeters, communities, community tweets, video transcripts, and AI-powered natural-language X search via Grok with citations.",
46
46
  },
47
47
  {
48
48
  slug: "linkedin",
49
49
  name: "LinkedIn",
50
- endpointCount: 77,
50
+ endpointCount: 78,
51
51
  social: true,
52
52
  category: "major",
53
- description: "Personal profiles (single sub-resources, or one-call bundles: profile/all, profile/complete, profile/with-posts) and company pages (incl. lookup by website domain, also-viewed pages, employee counts by location), posts and post-with-comments, reposts, reactions, group and company posts, post comments and replies, Pulse articles with their comments and reactions, people search (keyword or a search-results URL), company and hashtag search, similar members, structured profile sub-resources (experiences, educations, skills, position skills, top position, honors, certifications, publications, volunteers, recommendations, followed companies/groups/schools/newsletters/Top Voices, images, videos, last activity), jobs (job search, company jobs, jobs a member posted, a job's hiring team, job details), the endorsers of a member's skill, the profile sections languages, projects, patents, organizations, courses, test scores and featured items, up to 25 company pages in one call (company/bulk), company insights and job counts, groups, location/school/industry search, the complete post-history archive walk (profile/posts/archive — metered per post), post transcripts, and the LinkedIn Ad Library (ad details incl. payer and video renditions, ad search). Post lists carry exact publish times, and post search filters by `mentions_company` / `mentions_member`.",
53
+ description: "Personal profiles (single sub-resources, or one-call bundles: profile/all, profile/complete, profile/with-posts) and company pages (incl. lookup by website domain, also-viewed pages, employee counts by location), posts and post-with-comments, reposts, the members who reshared a post (post/reposters), reactions, group and company posts, post comments and replies, Pulse articles with their comments and reactions, people search (keyword or a search-results URL), company and hashtag search, similar members, structured profile sub-resources (experiences, educations, skills, position skills, top position, honors, certifications, publications, volunteers, recommendations, followed companies/groups/schools/newsletters/Top Voices, images, videos, last activity), jobs (job search, company jobs, jobs a member posted, a job's hiring team, job details), the endorsers of a member's skill, the profile sections languages, projects, patents, organizations, courses, test scores and featured items, up to 25 company pages in one call (company/bulk), company insights and job counts, groups, location/school/industry search, the complete post-history archive walk (profile/posts/archive — metered per post), post transcripts, and the LinkedIn Ad Library (ad details incl. payer and video renditions, ad search). Post lists carry exact publish times, and post search filters by `mentions_company` / `mentions_member`.",
54
54
  },
55
55
  {
56
56
  slug: "facebook",
57
57
  name: "Facebook",
58
- endpointCount: 33,
58
+ endpointCount: 35,
59
59
  social: true,
60
60
  category: "major",
61
61
  description: "Pages, groups and group posts, a group's upcoming events (group/events, `include=details` for start time, venue, hosts and RSVPs), posts, comments and replies (with sticker, GIF and image media), photos, reels (incl. the full reels feed with per-item view counts), events and event search, Marketplace (keyword search, location search, item details), video and ad transcripts, keyword search over posts, pages, people, videos and groups (search/*), hashtag and page-mention search, and the full Facebook Ad Library (ads, company ads filterable by publisher platform and ad category, ad search with canonical post rows, company search, advertiser profiles). `include=group` on facebook/post fills the group's name and member count; `include=details` on facebook/profile adds the verified flag and following count at no extra credit.",
@@ -63,7 +63,7 @@ export const PLATFORMS = [
63
63
  {
64
64
  slug: "reddit",
65
65
  name: "Reddit",
66
- endpointCount: 14,
66
+ endpointCount: 16,
67
67
  social: true,
68
68
  category: "major",
69
69
  description: "Subreddit posts and details, single post detail, post comments, user profiles with their post and comment history, keyword / comment / media search, subreddit discovery search, the cross-source omni-search composite, and post video transcripts.",
@@ -143,7 +143,7 @@ export const PLATFORMS = [
143
143
  {
144
144
  slug: "tiktokshop",
145
145
  name: "TikTok Shop",
146
- endpointCount: 6,
146
+ endpointCount: 11,
147
147
  social: true,
148
148
  category: "commerce",
149
149
  description: "TikTok Shop product details, product reviews, shop product listings, shop search, and creator showcases.",
@@ -198,7 +198,7 @@ export const PLATFORMS = [
198
198
  {
199
199
  slug: "google_trends",
200
200
  name: "Google Trends",
201
- endpointCount: 3,
201
+ endpointCount: 4,
202
202
  social: false,
203
203
  description: "Google Trends interest data — `explore` returns interest-over-time (and optional geo/related breakdowns) for one or more terms; `rising` returns breakout/rising related queries for a term; `trending` returns Trending Now for a location, filtered by hour window, category, status and sort. Multi-source with automatic fallback.",
204
204
  },
@@ -412,7 +412,7 @@ export const PLATFORMS = [
412
412
  endpointCount: 5,
413
413
  social: false,
414
414
  category: "utility",
415
- description: "Story search, the front-page feeds (top, new, best, Ask HN, Show HN, job; up to 100 a page), story details and comment trees by id or URL, and user profiles. Backed by the public Algolia HN API.",
415
+ description: "Story search, the front-page feeds (top, new, best, Ask HN, Show HN, job; up to 100 a page), story details and comment trees by id or URL, and user profiles.",
416
416
  },
417
417
  {
418
418
  slug: "quora",
@@ -433,10 +433,10 @@ export const PLATFORMS = [
433
433
  {
434
434
  slug: "github",
435
435
  name: "GitHub",
436
- endpointCount: 13,
436
+ endpointCount: 14,
437
437
  social: false,
438
438
  category: "utility",
439
- description: "Users, repositories (stars, forks, open issues, language, last push), user repos, repository search with GitHub qualifiers (`topic:`, `language:`, `stars:>N`), READMEs, releases, issues and pull requests (state, close reason, merged, labels, full body), issue/PR comments, issue/PR search, and composite repo top-issues/dossier + user profile-velocity reports. Backed by the official GitHub REST API.",
439
+ description: "Users, repositories (stars, forks, open issues, language, last push), user repos, repository search with GitHub qualifiers (`topic:`, `language:`, `stars:>N`), READMEs, releases, issues and pull requests (state, close reason, merged, labels, full body), issue/PR comments, issue/PR search, a repository's star history by week (repo/star-history), and composite repo top-issues/dossier + user profile-velocity reports. Backed by the official GitHub REST API.",
440
440
  },
441
441
  {
442
442
  slug: "tavily",