Asset Downloader
Returns a Roblox asset and a lot of information about itself and the creator
GET /api/roblox/asset-downloader
https://api.cookie-api.com/api/roblox/asset-downloader
Authentication Learn how to get your API Key and use it in your requests!
URL Parameters | |
---|---|
asset | Roblox asset ID |
curl --location 'https://www.cookie-api.com/api/roblox/asset-downloader?asset=3670737444' \--header 'Authorization: API_Key'
import requests
url = 'https://www.cookie-api.com/api/roblox/asset-downloader?asset=3670737444'headers = { 'Authorization': 'API_Key'}
response = requests.get(url, headers=headers)print(response.json())
const fetch = require('node-fetch');
const url = 'https://www.cookie-api.com/api/roblox/asset-downloader?asset=3670737444';const headers = { 'Authorization': 'API_Key'};
fetch(url, { method: 'GET', headers }) .then(res => res.json()) .then(data => console.log(data)) .catch(err => console.error(err));
package main
import ( "fmt" "log" "net/http" "io/ioutil")
func main() { url := "https://www.cookie-api.com/api/roblox/asset-downloader?asset=3670737444" req, err := http.NewRequest("GET", url, nil) if err != nil { log.Fatal(err) }
req.Header.Add("Authorization", "API_Key")
client := &http.Client{} resp, err := client.Do(req) if err != nil { log.Fatal(err) } defer resp.Body.Close()
body, err := ioutil.ReadAll(resp.Body) if err != nil { log.Fatal(err) }
fmt.Println(string(body))}
const https = require('https');
const options = { hostname: 'www.cookie-api.com', path: '/api/roblox/asset-downloader?asset=3670737444', method: 'GET', headers: { 'Authorization': 'API_Key' }};
const req = https.request(options, res => { let body = '';
res.on('data', chunk => { body += chunk; });
res.on('end', () => { console.log(JSON.parse(body)); });});
req.on('error', error => { console.error(error);});
req.end();
require 'net/http'require 'uri'require 'json'
uri = URI.parse('https://www.cookie-api.com/api/roblox/asset-downloader?asset=3670737444')
request = Net::HTTP::Get.new(uri)request['Authorization'] = 'API_Key'
response = Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) do |http| http.request(request)end
puts response.body
use reqwest::blocking::Client;use reqwest::header::HeaderMap;use std::collections::HashMap;
fn main() { let url = "https://www.cookie-api.com/api/roblox/asset-downloader?asset=3670737444"; let client = Client::new();
let mut headers = HeaderMap::new(); headers.insert("Authorization", "API_Key".parse().unwrap());
let res = client .get(url) .headers(headers) .send() .unwrap();
println!("{}", res.text().unwrap());}
Responses
{ "asset_id": 3670737444, "asset_type": 11, "creator": "Roblox", "creator_info": { "created": "2006-02-27T21:06:40.3Z", "description": "Welcome to the Roblox profile! This is where you can check out the newest items in the catalog, and get a jumpstart on exploring and building on our Imagination Platform. If you want news on updates to the Roblox platform, or great new experiences to play with friends, check out blog.roblox.com. Please note, this is an automated account. If you need to reach Roblox for any customer service needs find help at www.roblox.com/help", "displayName": "Roblox", "externalAppDisplayName": null, "hasVerifiedBadge": true, "id": 1, "isBanned": false, "name": "Roblox" }, "description": "", "item_type": "Asset", "name": "Roblox Shirt - Simple Pattern", "price": 0, "purchaseable": true, "success": true, "url": "https://images.cookie-api.com/roblox-assets/d53b09d7-e35d-4249-bd3d-c42b193fbc4a.png"}