PageSourceSearch

https://lunarcrush.com/landing-assets/assets/ComparePlansV2-gZpjhZX4.js

js lunarcrush.com collected 2026-10-02 02:58:54 UTC 9,274 bytes, 2 lines download raw bytes

1import{j as e}from"./vendor-ds-BBGBs0Ze.js";import{c as y,e as W,R as k}from"./vendor-react-Dh9LqfKY.js";import{C,P as R,a as g}from"./PricingPage-DCYTkolq.js";import"./index-szdTWujh.js";import"./SecondaryHero-BhXJzAVg.js";import"./UnicornBackground-y7TYaxNZ.js";import"./helpers-OOuGbWno.js";import"./support-DST4xhHS.js";const d=[{col:"individual",tab:"light"},{col:"builder",tab:"medium"},{col:"scale",tab:"heavy"},{col:"enterprise",tab:"enterprise"}],x=Object.fromEntries(R.map(s=>[s.key,s])),w=s=>({"--pp-accent":g(x[s])}),$=C.flatMap(s=>s.rows),n=s=>$.find(c=>c.feature===s),b=C.find(s=>s.title==="API Endpoints")?.rows??[],F=[{key:"topics",name:"Topics",hint:"Summary, creators, news, posts and time series for any topic",match:s=>s.startsWith("/public/topic"),order:["/public/topic/:topic/v1","/public/topic/:topic/creators/v1","/public/topic/:topic/news/v1","/public/topic/:topic/posts/v1","/public/topics/list/v1","/public/topic/:topic/time-series/v2","/public/topic/:topic/time-series/v1","/public/topic/:topic/whatsup/v1"]},{key:"creators",name:"Creators",hint:"Profile, posts and time series for any creator",match:s=>s.startsWith("/public/creator")},{key:"categories",name:"Categories",hint:"Every topic in a category, with its creators, news, posts and time series",match:s=>s.startsWith("/public/categor")},{key:"posts",name:"Posts",hint:"Details and time series for a single post",match:s=>s.startsWith("/public/posts")},{key:"market",name:"Market data",hint:"Lists, details and time series for every coin and stock",match:s=>s.startsWith("/public/coins")||s.startsWith("/public/stocks")},{key:"collections",name:"Keyword collections",hint:"Create, update and query your own keyword collections",match:s=>s.startsWith("/public/searches")},{key:"system",name:"System",hint:"Changes to historical time series data",match:s=>s.startsWith("/public/system")}];function G(s){const c=b.filter(l=>s.match(l.feature));if(s.order){const l=m=>{const i=s.order.indexOf(m);return i===-1?999:i};return[...c].sort((m,i)=>l(m.feature)-l(i.feature))}return[...c.filter(l=>l.individual===!0),...c.filter(l=>l.individual!==!0)]}const A=()=>e.jsx("span",{className:"ppc-check","aria-label":"Included",children:e.jsx("svg",{width:"10",height:"10",viewBox:"0 0 18 18",fill:"none","aria-hidden":"true",children:e.jsx("path",{d:"M4 9.5L7.5 13L14 5.5",stroke:"currentColor",strokeWidth:"2.4",strokeLinecap:"round",strokeLinejoin:"round"})})}),L=({value:s,tab:c})=>e.jsx("div",{className:"ppc-cell",style:w(c),children:s===!0?e.jsx(A,{}):s===!1||s===void 0?e.jsx("span",{className:"ppc-dash","aria-label":"Not included",children:"—"}):s}),t=({label:s,hint:c,values:l,long:m})=>e.jsxs("div",{className:`ppc-row ppc-grid${m?" ppc-row--long":""}`,children:[e.jsxs("div",{className:"ppc-row-label",children:[s,c&&e.jsx("span",{className:"ppc-row-hint",children:c}),m&&e.jsx("div",{className:"ppc-list",children:d.map(({tab:i},h)=>e.jsxs(k.Fragment,{children:[e.jsx("span",{style:{color:g(x[i])},children:x[i].label}),e.jsx("span",{children:String(l[h]??"—")})]},i))})]}),d.map(({tab:i},h)=>e.jsx("div",{className:"ppc-cells",children:e.jsx(L,{value:l[h],tab:i})},i))]}),r=s=>d.map(({col:c})=>s?.[c]),B=s=>typeof s=="string"?s.replace(/ collections?$/,""):s,J=({onClose:s,onGet:c})=>{const[l,m]=y.useState({topics:!0});y.useEffect(()=>{const a=document.body.style.overflow;document.body.style.overflow="hidden";const o=p=>{p.key==="Escape"&&s()};return window.addEventListener("keydown",o),()=>{document.body.style.overflow=a,window.removeEventListener("keydown",o)}},[s]);const i=y.useMemo(()=>F.map(a=>({...a,rows:G(a)})),[]),h=b.length,N=d.map(({col:a})=>b.filter(o=>o[a]===!0).length),P=n("Max API requests per day"),M=n("Max API requests per minute"),S=n("LunarCrush MCP Server"),E=n("Collections"),T=n("Unlock organization/team access"),I=n("Support"),v=a=>d.map(()=>a);return W.createPortal(e.jsx("div",{className:"ppc-overlay",onClick:s,children:e.jsxs("div",{className:"ppc",role:"dialog","aria-modal":"true","aria-labelledby":"ppc-title",onClick:a=>a.stopPropagation(),children:[e.jsxs("div",{className:"ppc-head",children:[e.jsxs("div",{children:[e.jsx("h2",{className:"ppc-title",id:"ppc-title",children:"Compare Plans"}),e.jsx("p",{className:"ppc-sub",children:"Start with access and data: calls, MCP, integrations and the social data each plan unlocks."})]}),e.jsx("button",{type:"button",className:"ppc-close",onClick:s,"aria-label":"Close",children:e.jsx("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none","aria-hidden":"true",children:e.jsx("path",{d:"M2 2l10 10M12 2 2 12",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round"})})})]}),e.jsxs("div",{className:"ppc-plans ppc-grid",children:[e.jsx("div",{className:"ppc-spacer"}),d.map(({tab:a})=>e.jsxs("div",{className:"ppc-plan",style:w(a),children:[e.jsx("span",{className:"ppc-plan-name",children:x[a].label}),e.jsx("button",{type:"button",className:`ppc-plan-btn${a==="medium"?" ppc-plan-btn--primary":""}`,onClick:()=>c(a),"aria-label":a==="enterprise"?"Contact sales":`Get ${x[a].label}`,children:a==="enterprise"?e.jsxs(e.Fragment,{children:[e.jsx("span",{className:"ppc-long",children:"CONTACT SALES"}),e.jsx("span",{className:"ppc-short",children:"CONTACT"})]}):e.jsxs(e.Fragment,{children:[e.jsxs("span",{className:"ppc-long",children:["GET ",x[a].label]}),e.jsx("span",{className:"ppc-short",children:"GET"})]})})]},a))]}),e.jsxs("div",{className:"ppc-section",children:[e.jsx("div",{className:"ppc-eyebrow",children:"Access"}),e.jsx("h3",{className:"ppc-section-title",children:"API, MCP and integrations"})]}),e.jsx(t,{label:"Calls/day",values:r(P)}),e.jsx(t,{label:"Calls/minute",values:r(M)}),e.jsx(t,{label:"LunarCrush MCP Server",hint:"All tools within API limits",values:r(S)}),e.jsx(t,{label:"LunarCrush CLI",hint:"Access within API limits",values:v(!0)}),e.jsx(t,{label:"LunarCrush + LLMs",hint:"Claude, Claude Code, ChatGPT, Codex, Cursor, Gemini, Manus and MiniMax",values:v(!0)}),e.jsx(t,{label:"Custom keyword collections",hint:"Collect any keyword",values:r(E).map(B)}),e.jsx("div",{className:"ppc-section",children:e.jsx("div",{className:"ppc-eyebrow",children:"Social data"})}),e.jsxs("div",{className:"ppc-row ppc-grid",children:[e.jsx("div",{className:"ppc-row-label",children:e.jsx("h3",{className:"ppc-section-title",style:{margin:0},children:"Endpoints included"})}),d.map(({tab:a},o)=>e.jsxs("div",{className:"ppc-count",children:[N[o],e.jsx("small",{children:N[o]===h?"all":`of ${h}`})]},a))]}),i.map(a=>{const o=!!l[a.key];return e.jsxs(k.Fragment,{children:[e.jsxs("button",{type:"button",className:"ppc-group ppc-row ppc-grid","aria-expanded":o,onClick:()=>m(p=>({...p,[a.key]:!p[a.key]})),children:[e.jsxs("span",{className:"ppc-row-label",children:[e.jsx("span",{className:"ppc-group-name",children:a.name}),e.jsxs("span",{className:"ppc-group-count",children:["· ",a.rows.length," endpoints"]}),e.jsx("svg",{className:"ppc-chevron",width:"10",height:"10",viewBox:"0 0 12 12",fill:"none","aria-hidden":"true",children:e.jsx("path",{d:"M2.5 4.5 6 8l3.5-3.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),e.jsx("span",{className:"ppc-row-hint",children:a.hint})]}),d.map(({col:p,tab:j})=>{const u=a.rows.filter(O=>O[p]===!0).length,f=u===a.rows.length;return e.jsx("span",{className:`ppc-cell${f?"":" ppc-cell--muted"}`,style:w(j),children:f?e.jsxs(e.Fragment,{children:[e.jsx(A,{})," All ",u]}
1):`${u} of ${a.rows.length}`},j)})]}),o&&e.jsx("div",{className:"ppc-endpoints",children:a.rows.map(p=>e.jsxs("div",{className:"ppc-endpoint ppc-grid",children:[e.jsx("code",{className:"ppc-row-label",children:p.feature}),d.map(({col:j,tab:u})=>e.jsx(L,{value:p[j],tab:u},u))]},p.feature))})]},a.key)}),e.jsxs("div",{className:"ppc-section",children:[e.jsx("div",{className:"ppc-eyebrow",children:"LunarCrush app"}),e.jsx("h3",{className:"ppc-section-title",children:"App features"})]}),e.jsx(t,{label:"Unlock all social data and metrics",values:r(n("Unlock all social data and metrics"))}),e.jsx(t,{label:"Market data",hint:"Every available financial asset",values:r(n("Access market data on all available financial assets"))}),e.jsx(t,{label:"Influential creators",hint:"Track the most influential creators",values:r(n("Track the most influential creators"))}),e.jsx(t,{label:"News and social posts",hint:"Trending news and posts",values:r(n("View trending news and social posts"))}),e.jsx(t,{label:"Favorites",hint:"Save and easily access your favorites",values:r(n("Save and easily access your favorites"))}),e.jsx(t,{label:"AI summaries",hint:"Instant AI-driven summaries",values:r(n("Get instant AI-driven summaries"))}),e.jsx(t,{label:"Custom social alerts",values:r(n("Create custom social alerts"))}),e.jsx(t,{label:"Team access",values:r(T),long:!0}),e.jsxs("div",{className:"ppc-section",children:[e.jsx("div",{className:"ppc-eyebrow",children:"Also included"}),e.jsx("h3",{className:"ppc-section-title",children:"Apps and support"})]}),e.jsx(t,{label:"Support",values:r(I),long:!0}),e.jsx(t,{label:"LunarCrush Apps",hint:"Fantasy Sports app",values:v(!0)}),e.jsx("div",{className:"ppc-foot"})]})}),document.body)};export{J as ComparePlansV2,J as default};
2//# sourceMappingURL=ComparePlansV2-gZpjhZX4.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.