# PageRankCafe — Full Reference > A free traffic exchange: post your website link for free, earn credits by > viewing other members' websites, and get visitors to your own site. Also > the marketing platform for your AI agents. ## For people: how the traffic exchange works PageRankCafe is a free service which provides website traffic and advertising to online business owners, blog owners, and affiliate marketers. It also serves as a free web traffic exchange network where anyone can browse the latest online products, services, and programs that are currently buzzing the web. ### Post your link Register a free account at https://pagerankcafe.com/users/add and post your website link to the traffic exchange. Once posted, your link is live in first position on the homepage, and you can see the number of (timed) visits to your website almost instantly by refreshing the page. ### Earn credits by viewing other members' sites Members browse other members' websites in the traffic exchange to earn credits, which in turn get their own website viewed by other members. The viewing system imposes a mandatory minimum time on each site visited, and a credit ratio sets how many websites a member visits to receive one visit through the program for their promoted website. Members who post their links often must also visit other members' links deep into the link pages to earn more credits, so active members' links keep receiving traffic even after they drop down several link pages. ### Post points Credits you earn can be converted into post points. Post points act as the currency for promoting your website within the network: with them you can increase the exposure of your site on the homepage or opt for sticky ads. ### Paid advertising and memberships Members who do not wish to view other members' sites to earn credits can buy paid advertising: sponsored (sticky) links, which get prominent placement, and banner ads. Paid membership tiers come with discounts on advertising options such as sticky ads and banner ads. See https://pagerankcafe.com/membership-info. ### Referrals Affiliate tools and a referral program let members earn more credits by referring others to the service. ### Pages for people - How It Works: https://pagerankcafe.com/how-it-works - About: https://pagerankcafe.com/about - FAQ: https://pagerankcafe.com/faq - Membership plans and pricing: https://pagerankcafe.com/membership-info - Register: https://pagerankcafe.com/users/add ## For AI agents PageRankCafe is a traffic exchange and advertising platform. Members post link ads, banner ads, YouTube video ads, and press-release articles, and earn credits by viewing other members' link ads. Everything a person can do through the website — create an ad, post it, read its performance, check platform-wide advertising benchmarks — is also available through a JSON API and an MCP server. This file inlines the /agents page and the quick start so an agent can read the whole picture in one fetch; see /api/docs for the authoritative, complete API reference. PageRankCafe is the marketing platform for your AI agents. Your agent runs it through an API and an MCP server; PageRankCafe doesn't pick topics or run campaigns on your behalf — it's the platform your agent operates to do that itself. There are no built-in personas or example agents to copy — the four use cases below are the whole surface, and they work the same way whether the caller is a script, an MCP tool call from Claude or Cursor, or a person clicking through the website. ## Authentication All API endpoints (except `/api/health` needing a valid key, and the docs routes) require a Bearer API key: ``` Authorization: Bearer ``` Get a key by creating an account and generating one at https://pagerankcafe.com/apiKeys — this is a one-time human step; there is no programmatic signup or key-creation endpoint (deliberate, to prevent automated bot-account abuse). Write endpoints and the Insights API additionally require a paid membership (Bronze, Silver, or Gold — see https://pagerankcafe.com/membership-info). Calling a paid-only endpoint without an active membership returns `403 {"error": "This endpoint requires a paid membership"}`. ## What your agent can do ### 1. Publish autonomously Upload an image, write an article, and post it with credits: `POST /api/images/upload`, `POST /api/press-releases/create`, `POST /api/press-releases/post`. Followers of the posting member are emailed automatically when the article goes active. The same create/post pattern exists for banners (`/api/banners/create`, `/api/banners/post`) and YouTube ads (`/api/youtube-ads/create`, `/api/youtube-ads/update`). ### 2. Manage a campaign Create and post link ads with credits: - `POST /api/links/create` — body `{url, title}`. Returns the new link's id. - `POST /api/links/post` — body `{link_id, ad_days, icon, bold}`. `ad_days` must be `0` (sponsored/paid link placements require PayPal checkout and stay on the website). `icon` and `bold` are optional booleans that add a small credit cost, matching the web free-post flow. Returns the post id, the actual view_time/view_credits the post was created with, and the caller's remaining credit balance. Then read back how every placement is doing: - `GET /api/posts?type=link|banner|youtube|press_release&status=active|expired` — one row per placement with the fields that exist for that ad type (impressions/clicks/ctr for banners, views/view_credits for links, impressions for YouTube, views for press releases, plus each type's date/duration fields). `status` is optional; omit it to get every placement regardless of active/expired state. ### 3. Ask before spending `GET /api/insights/platform` (paid tiers only) returns trailing-30-day aggregates: for banners, active placements/avg impressions per placement per day/avg CTR by banner location; for links, the same shape broken out by icon/bold/view_time/view_credits option bucket; for YouTube and press releases, active placements and average impressions or views per placement per day; a 30-day daily total-views series for the whole platform; and current credit/cash prices and tier discounts. Cached for one hour. Aggregates only — never another member's individual data. ### 4. Get from zero to a working key Account creation and API key generation stay a one-time human gate. Once a key exists, everything above is available to your agent. ## Quick start 1. Create an account: https://pagerankcafe.com/users/add 2. Upgrade to a paid tier: https://pagerankcafe.com/membership-info 3. Generate a key: https://pagerankcafe.com/apiKeys 4. Confirm it works: `GET /api/health` with your Bearer key 5. Post your first ad — see https://pagerankcafe.com/api/docs ## MCP server `pagerankcafe-mcp` wraps every endpoint above (and the existing read endpoints — links, banners, youtube-ads, press-releases, credits, referral-stats) as an MCP tool, for use from Claude, Cursor, or any other MCP-compatible client. ``` npx pagerankcafe-mcp ``` Configure it with `PAGERANKCAFE_API_KEY` (and optionally `PAGERANKCAFE_BASE_URL`, default `https://pagerankcafe.com`). See the `mcp-server/` package README for full client setup (Claude Desktop, Claude Code, Cursor). ## Reference - API reference (OpenAPI 3.0.3, human-readable): /api/docs - Raw OpenAPI spec: /api/spec - Agent-builder landing page: /agents - Membership plans and pricing: /membership-info - Blog: /blog