api.pexels.com/v1/search?query=nature
{
"page": 1,
"per_page": 15,
"total_results": 24310,
"url": "https://api.pexels.com/v1/curated",
"next_page": "https://api.pexels.com/v1/curated?page=2"
"photos": [
{
"width": 2986,
"height": 5979,
"url": "https://www.pexels.com/photo/landscape-photography-of-waterfalls-surrounded-by-green-leafed-plants-931007/",
"photographer": "Oliver Sjöström",
"src": {
"original": "https://*.jpg",
"large": "https://*.jpg",
"large2x": "https://*.jpg",
"medium": "https://*.jpg",
"small": "https://*.jpg",
"portrait": "https://*.jpg",
"landscape": "https://*.jpg",
"tiny": "https://*.jpg"
}
},
(NEXT PHOTOS)
]
}
api.pexels.com/v1/curated
{
"page": 1,
"per_page": 15,
"total_results": 13531,
"url": "https://api.pexels.com/v1/curated",
"next_page": "https://api.pexels.com/v1/curated?page=2"
"photos": [
{
"width": 2800,
"height": 3500,
"url": "https://www.pexels.com/photo/back-view-photo-woman-in-white-dress-standing-on-green-grass-field-3218135/",
"photographer": "Andy Vu",
"src": {
"original": "https://*.jpg",
"large": "https://*.jpg",
"large2x": "https://*.jpg",
"medium": "https://*.jpg",
"small": "https://*.jpg",
"portrait": "https://*.jpg",
"landscape": "https://*.jpg",
"tiny": "https://*.jpg"
}
}
(NEXT PHOTOS)
]
}
api.pexels.com/videos/popular
{
"page": 1,
"per_page": 1,
"total_results": 19794,
"url": "https://www.pexels.com/videos/",
"videos": [
{
"id": 1448735,
"width": 4096,
"height": 2160,
"url": "https://www.pexels.com/video/video-of-forest-1448735/",
"image": "https://images.pexels.com/videos/1448735/free-video-1448735.jpg?fit=crop&w=1200&h=630&auto=compress&cs=tinysrgb",
"full_res": null,
"tags": [],
"duration": 32,
"user": {
"id": 574687,
"name": "Ruvim Miksanskiy",
"url": "https://www.pexels.com/@digitech"
},
"video_files": [
{
"id":58649,
"quality":"sd",
"file_type":"video/mp4",
"width":640,
"height":338,
"link":"https://player.vimeo.com/external/291648067.sd.mp4?s=7f9ee1f8ec1e5376027e4a6d1d05d5738b2fbb29&profile_id=164&oauth2_token_id=57447761"
},
],
"video_pictures": [
{
"id": 133236,
"picture": "https://static-videos.pexels.com/videos/1448735/pictures/preview-0.jpg",
"nr":0
}
]
}
]
}
無論是程式碼的新手或大型科技公司都使用我們的 API。我們的 API 以開發人員和使用者為開發重心,不僅穩定可靠、容易整合,還能讓你的使用者在不中斷工作流程的狀況下獲得不受限制的創意選項。
所有內容皆由我們的管理團隊精心選擇並加上標籤,以確保內容品質優秀、符合最新潮流並可輕鬆搜尋找到。
內容豐富多樣的視覺圖庫可用 28 種不同語言搜尋,並由超過 170 個國家/地區的攝影師提供內容。
文字和影像極為重要。不論是搜尋愛情還是領導能力相關內容,我們專門設計的演算法所產生的結果都能反映世界各地的多樣性並加以推廣。
我們的演算法經過超過 1 億位使用者檢驗使用,而且會從每次新搜尋中學習。我們的伺服器每個月處理超過 150 億筆要求,且正常運作時間超過 99.99%。
要求 API 金鑰有預設限制。如果你的應用程式規模較大,並且預計會超過預設 API 限制,請與我們聯絡:[email protected]
不必!如果你能以可接受的方式提供並呈現來源出自 Pexels 和我們的貢獻者,則可免費提高限制
請務必這麼做!請盡可能註明提供相片的攝影師 (例如:「相片由 John Doe 於 Pexels 提供」,並附上連往 Pexels 相片頁面的連結)。如果無法提供完整的連結,請使用文字連結 (例如「相片由 Pexels 提供」)。
請勿複製 Pexels 的核心功能。請注意,桌布應用程式不在使用資格條件的支援範圍內。