Developer Tools

PSM Index API & Widgets

Embed PSM scores on your website, fetch startup data via JSON API, and integrate alternative protein intelligence into your applications.

Quick Start

The fastest way to show PSM scores on your site — just paste this iframe code:

html
<iframe
  src="https://psmindex.com/embed/novomeatix"
  width="380"
  height="180"
  frameborder="0"
  style="border: none; border-radius: 16px;"
  loading="lazy"
></iframe>

Replace novomeatix with any startup slug. The widget is transparent and responsive.

Embed Widget

Each startup profile page has an "Embed" button that generates a ready-to-use iframe code. The widget features:

PSM Score Circle
Animated score display with color-coded ring
Verified Badge
Shows Gold, Standard, or Rising Star tier
Transparent BG
Blends seamlessly with any website design
Responsive
Adapts to container width automatically
Live Preview

JSON API

Fetch startup data programmatically. The embed API endpoint supports CORS for client-side requests.

javascript
// Fetch startup data via JSON API
const response = await fetch('https://psmindex.com/api/embed/novomeatix');
const data = await response.json();

console.log(data.name);      // "Novomeatix"
console.log(data.psmScore);  // 87
console.log(data.badgeTier); // "gold"

React Component Example

Build custom integrations using the JSON API. Here's a React component example:

jsx
import { useEffect, useState } from 'react';

function PSMWidget({ slug }) {
  const [data, setData] = useState(null);

  useEffect(() => {
    fetch('https://psmindex.com/api/embed/' + slug)
      .then(r => r.json())
      .then(setData);
  }, [slug]);

  if (!data) return <div>Loading...</div>;

  return (
    <div style={{ padding: 16, borderRadius: 12, background: '#0F1A17' }}>
      <h3 style={{ color: '#fff' }}>{data.name}</h3>
      <span style={{ color: '#00FF9F', fontSize: 24 }}>
        {data.psmScore}
      </span>
      <span style={{ color: '#9ca3af' }}> / 100</span>
    </div>
  );
}

API Reference

Available public endpoints:

GET/api/embed/{slug}CORS

Get startup embed data (name, score, badge, tech type) for a specific startup by slug.

Response
{
  "name": "Novomeatix",
  "slug": "novomeatix",
  "psmScore": 87,
  "techType": "Cultivated Meat",
  "country": "Turkey",
  "isVerified": true,
  "badgeTier": "gold",
  "tagline": "Next-gen cultured meat platform",
  "fundingStage": "Series A"
}
GET/api/startups

Retrieve all approved startups ordered by PSM score (descending).

Response
[
  {
    "id": "clx...",
    "name": "Novomeatix",
    "slug": "novomeatix",
    "psmScore": 87,
    "techType": "Cultivated Meat",
    "country": "Turkey",
    ...
  }
]
GET/api/newsletter

Get the current newsletter subscriber count.

Response
{
  "count": 142
}
POST/api/newsletter

Subscribe an email to the PSM Index newsletter.

Response
{
  "message": "Subscribed successfully",
  "subscriber": { "id": "clx...", "email": "..." }
}

Need Custom Integration?

Contact us for enterprise-grade API access, custom widgets, or white-label solutions.

Contact Us