Create API endpoints without deploying backend code

Combine APIs, hide secrets, cache responses. Write JavaScript, get an endpoint.

function transform(data) {
  const { current, forecast } = data.sources;

  return {
    location: {
      city: current.name,
      country: current.sys.country,
      coordinates: {
        lat: current.coord.lat,
        lon: current.coord.lon
      }
    },
    current: {
      temp: current.main.temp,
      feelsLike: current.main.feels_like,
      humidity: current.main.humidity,
      condition: current.weather[0].description,
      icon: current.weather[0].icon
    },
    forecast: forecast.list.map(item => ({
      time: item.dt_txt,
      temp: item.main.temp,
      condition: item.weather[0].description,
      icon: item.weather[0].icon
    }))
  };
}
Why Mongrel?

Built for front-end developers

Create backend APIs without the backend complexity

One Endpoint, Multiple APIs

Stop juggling fetch calls. Pull from multiple APIs and get exactly the data your component needs in a single request.

Hide Your API Keys

Keep secrets out of your frontend code. Your app calls mongrel.io, we call the APIs with your keys stored securely.

Cache Slow APIs

Tired of waiting on slow third-party APIs? Cache responses and set TTL to speed up your app.

Just JavaScript

No new frameworks. No backend language to learn. Write the same JavaScript you already know.

Live in Minutes

No servers, no Docker, no AWS console. Write your transform, hit publish, get a URL.

Shape Your Data

Return exactly what your UI needs. No more filtering massive payloads client-side.

How It Works

Three steps to your first endpoint

No backend experience required

1

Add your data sources

Connect to any REST API and add your secret keys. We store them securely.

2

Write a transform function

Use JavaScript to shape the data exactly how your frontend needs it.

3

Get your endpoint

Hit publish. Use your new API endpoint immediately.

Ship your API in minutes, not days

No backend experience required. No infrastructure to manage. Just JavaScript.