Embed Mashape in your site

Mashape allows you to generate a button to redirect users from your website to the API’s Mashape landing page. Additionally, for maximum engagement, you can embed the documentation within your page.


Table of Contents

  1. Generate a button
  2. Embed Mashape Docs in your site

Generate a button

Have you ever wanted to facilitate the consumption of your API, and drive people from your site to your API documentation and console hosted on Mashape? Within the Mashape platform, you can automatically generate a button that will link your users to your API on Mashape. To find your own "Consume on Mashape" button do the following:

  1. Login to Mashape and navigate to your API
  2. Click Analytics and Settings (right side)
  3. Click Embed (left menu)
  4. Customize the button
  5. Copy the HTML and paste it anywhere in your site

You can choose from one of the following designs:

  • Mashape

  • Mashape

  • Mashape

  • Mashape

Embed the documentation

The Embed functionality enables you to embed the entire API documentation on your own site. To leverage the power of Mashape, follow these steps:

  1. Login to Mashape and navigate to your API
  2. Click Analytics and Settings (right side)
  3. Click Embed (left menu)
  4. Look for "embed documentation" and copy paste the large snippet of code anywhere in your site
  5. Your documentation will now be automagically appearing on your site! Maximum engagement ensured!