oEmbed Documentation

This is the documentation for our oEmbed endpoint. You can send any iFixit URL at us, and if it is a supported url, we will return the HTML to embed that page nicely in your site. We do not support any response format besides JSON.

URL Scheme

http://www.ifixit.com/Guide/View/*

Endpoint

GET /Embed

Route Parameters

GET Parameters

url Required. The URL you want an embed for.
format Optional. We only support JSON, but feel free to request other formats.
maxheight The maximum height of the embed.
maxwidth The maximum width of the embed.
jsonp Optional. String. The name of a Javascript function to call with the results. See JSONP.

Example Request

http://www.ifixit.com/Embed?url=http%3A%2F%2Fwww.ifixit.com%2FTeardown%2FiPhone-4-Teardown%2F3130%2F1&format=json

Example Response

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
{
   "type": "rich", 
   "version": "1.0", 
   "provider_name": "iFixit", 
   "provider_url": "http:\/\/www.iFixit.com", 
   "title": "iPhone 4 Teardown", 
   "author_name": "Walter Galan", 
   "author_url": "http:\/\/www.ifixit.com\/User\/18\/Walter+Galan", 
   "height": 290, 
   "width": 490
   "html": "<script type=\"text\/javascript\" src=\"http:\/\/cacher.dozuki.net\/static\/embed\/ifixit-embed.3.js?id=3130\"><\/script>"
}