[
{
"id": 1,
"mass": "77",
"name": "Luke Skywalker",
"gender": "male",
"height": "172",
"species": "Human",
"eye_color": "blue",
"homeworld": "Tatooine",
"birth_year": "19BBY",
"hair_color": "blond",
"skin_color": "fair"
},
{
"id": 2,
"mass": "75",
"name": "C-3PO",
"gender": "NA",
"height": "167",
"species": "Droid",
"eye_color": "yellow",
"homeworld": "Tatooine",
"birth_year": "112BBY",
"hair_color": "NA",
"skin_color": "gold"
},
{
"id": 3,
"mass": "32",
"name": "R2-D2",
"gender": "NA",
"height": "96",
"species": "Droid",
"eye_color": "red",
"homeworld": "Naboo",
"birth_year": "33BBY",
"hair_color": "NA",
"skin_color": "white, blue"
},
{
"id": 4,
"mass": "136",
"name": "Darth Vader",
"gender": "male",
"height": "202",
"species": "Human",
"eye_color": "yellow",
"homeworld": "Tatooine",
"birth_year": "41.9BBY",
"hair_color": "none",
"skin_color": "white"
},
{
"id": 5,
"mass": "49",
"name": "Leia Organa",
"gender": "female",
"height": "150",
"species": "Human",
"eye_color": "brown",
"homeworld": "Alderaan",
"birth_year": "19BBY",
"hair_color": "brown",
"skin_color": "light"
},
{
"id": 6,
"mass": "120",
"name": "Owen Lars",
"gender": "male",
"height": "178",
"species": "Human",
"eye_color": "blue",
"homeworld": "Tatooine",
"birth_year": "52BBY",
"hair_color": "brown, grey",
"skin_color": "light"
},
{
"id": 7,
"mass": "75",
"name": "Beru Whitesun lars",
"gender": "female",
"height": "165",
"species": "Human",
"eye_color": "blue",
"homeworld": "Tatooine",
"birth_year": "47BBY",
"hair_color": "brown",
"skin_color": "light"
},
{
"id": 8,
"mass": "32",
"name": "R5-D4",
"gender": "NA",
"height": "97",
"species": "Droid",
"eye_color": "red",
"homeworld": "Tatooine",
"birth_year": "NA",
"hair_color": "NA",
"skin_color": "white, red"
},
{
"id": 9,
"mass": "84",
"name": "Biggs Darklighter",
"gender": "male",
"height": "183",
"species": "Human",
"eye_color": "brown",
"homeworld": "Tatooine",
"birth_year": "24BBY",
"hair_color": "black",
"skin_color": "light"
},
{
"id": 10,
"mass": "77",
"name": "Obi-Wan Kenobi",
"gender": "male",
"height": "182",
"species": "Human",
"eye_color": "blue-gray",
"homeworld": "Stewjon",
"birth_year": "57BBY",
"hair_color": "auburn, white",
"skin_color": "fair"
},
{
"id": 11,
"mass": "84",
"name": "Anakin Skywalker",
"gender": "male",
"height": "188",
"species": "Human",
"eye_color": "blue",
"homeworld": "Tatooine",
"birth_year": "41.9BBY",
"hair_color": "blond",
"skin_color": "fair"
},
{
"id": 12,
"mass": "NA",
"name": "Wilhuff Tarkin",
"gender": "male",
"height": "180",
"species": "Human",
"eye_color": "blue",
"homeworld": "Eriadu",
"birth_year": "64BBY",
"hair_color": "auburn, grey",
"skin_color": "fair"
},
{
"id": 13,
"mass": "112",
"name": "Chewbacca",
"gender": "male",
"height": "228",
"species": "Wookiee",
"eye_color": "blue",
"homeworld": "Kashyyyk",
"birth_year": "200BBY",
"hair_color": "brown",
"skin_color": "NA"
},
{
"id": 14,
"mass": "80",
"name": "Han Solo",
"gender": "male",
"height": "180",
"species": "Human",
"eye_color": "brown",
"homeworld": "Corellia",
"birth_year": "29BBY",
"hair_color": "brown",
"skin_color": "fair"
},
{
"id": 15,
"mass": "74",
"name": "Greedo",
"gender": "male",
"height": "173",
"species": "Rodian",
"eye_color": "black",
"homeworld": "Rodia",
"birth_year": "44BBY",
"hair_color": "NA",
"skin_color": "green"
},
{
"id": 16,
"mass": "1,358",
"name": "Jabba Desilijic Tiure",
"gender": "hermaphrodite",
"height": "175",
"species": "Hutt",
"eye_color": "orange",
"homeworld": "Nal Hutta",
"birth_year": "600BBY",
"hair_color": "NA",
"skin_color": "green-tan, brown"
},
{
"id": 17,
"mass": "77",
"name": "Wedge Antilles",
"gender": "male",
"height": "170",
"species": "Human",
"eye_color": "hazel",
"homeworld": "Corellia",
"birth_year": "21BBY",
"hair_color": "brown",
"skin_color": "fair"
},
{
"id": 18,
"mass": "110",
"name": "Jek Tono Porkins",
"gender": "male",
"height": "180",
"species": "Human",
"eye_color": "blue",
"homeworld": "Bestine IV",
"birth_year": "NA",
"hair_color": "brown",
"skin_color": "fair"
},
{
"id": 19,
"mass": "17",
"name": "Yoda",
"gender": "male",
"height": "66",
"species": "Yoda's species",
"eye_color": "brown",
"homeworld": "NA",
"birth_year": "896BBY",
"hair_color": "white",
"skin_color": "green"
},
{
"id": 20,
"mass": "75",
"name": "Palpatine",
"gender": "male",
"height": "170",
"species": "Human",
"eye_color": "yellow",
"homeworld": "Naboo",
"birth_year": "82BBY",
"hair_color": "grey",
"skin_color": "pale"
},
{
"id": 21,
"mass": "78.2",
"name": "Boba Fett",
"gender": "male",
"height": "183",
"species": "Human",
"eye_color": "brown",
"homeworld": "Kamino",
"birth_year": "31.5BBY",
"hair_color": "black",
"skin_color": "fair"
},
{
"id": 22,
"mass": "140",
"name": "IG-88",
"gender": "none",
"height": "200",
"species": "Droid",
"eye_color": "red",
"homeworld": "NA",
"birth_year": "15BBY",
"hair_color": "none",
"skin_color": "metal"
},
{
"id": 23,
"mass": "113",
"name": "Bossk",
"gender": "male",
"height": "190",
"species": "Trandoshan",
"eye_color": "red",
"homeworld": "Trandosha",
"birth_year": "53BBY",
"hair_color": "none",
"skin_color": "green"
},
{
"id": 24,
"mass": "79",
"name": "Lando Calrissian",
"gender": "male",
"height": "177",
"species": "Human",
"eye_color": "brown",
"homeworld": "Socorro",
"birth_year": "31BBY",
"hair_color": "black",
"skin_color": "dark"
},
{
"id": 25,
"mass": "79",
"name": "Lobot",
"gender": "male",
"height": "175",
"species": "Human",
"eye_color": "blue",
"homeworld": "Bespin",
"birth_year": "37BBY",
"hair_color": "none",
"skin_color": "light"
},
{
"id": 26,
"mass": "83",
"name": "Ackbar",
"gender": "male",
"height": "180",
"species": "Mon Calamari",
"eye_color": "orange",
"homeworld": "Mon Cala",
"birth_year": "41BBY",
"hair_color": "none",
"skin_color": "brown mottle"
},
{
"id": 27,
"mass": "NA",
"name": "Mon Mothma",
"gender": "female",
"height": "150",
"species": "Human",
"eye_color": "blue",
"homeworld": "Chandrila",
"birth_year": "48BBY",
"hair_color": "auburn",
"skin_color": "fair"
},
{
"id": 28,
"mass": "NA",
"name": "Arvel Crynyd",
"gender": "male",
"height": "NA",
"species": "Human",
"eye_color": "brown",
"homeworld": "NA",
"birth_year": "NA",
"hair_color": "brown",
"skin_color": "fair"
},
{
"id": 29,
"mass": "20",
"name": "Wicket Systri Warrick",
"gender": "male",
"height": "88",
"species": "Ewok",
"eye_color": "brown",
"homeworld": "Endor",
"birth_year": "8BBY",
"hair_color": "brown",
"skin_color": "brown"
},
{
"id": 30,
"mass": "68",
"name": "Nien Nunb",
"gender": "male",
"height": "160",
"species": "Sullustan",
"eye_color": "black",
"homeworld": "Sullust",
"birth_year": "NA",
"hair_color": "none",
"skin_color": "grey"
},
{
"id": 31,
"mass": "89",
"name": "Qui-Gon Jinn",
"gender": "male",
"height": "193",
"species": "Human",
"eye_color": "blue",
"homeworld": "NA",
"birth_year": "92BBY",
"hair_color": "brown",
"skin_color": "fair"
},
{
"id": 32,
"mass": "90",
"name": "Nute Gunray",
"gender": "male",
"height": "191",
"species": "Neimodian",
"eye_color": "red",
"homeworld": "Cato Neimoidia",
"birth_year": "NA",
"hair_color": "none",
"skin_color": "mottled green"
},
{
"id": 33,
"mass": "NA",
"name": "Finis Valorum",
"gender": "male",
"height": "170",
"species": "Human",
"eye_color": "blue",
"homeworld": "Coruscant",
"birth_year": "91BBY",
"hair_color": "blond",
"skin_color": "fair"
},
{
"id": 34,
"mass": "66",
"name": "Jar Jar Binks",
"gender": "male",
"height": "196",
"species": "Gungan",
"eye_color": "orange",
"homeworld": "Naboo",
"birth_year": "52BBY",
"hair_color": "none",
"skin_color": "orange"
},
{
"id": 35,
"mass": "82",
"name": "Roos Tarpals",
"gender": "male",
"height": "224",
"species": "Gungan",
"eye_color": "orange",
"homeworld": "Naboo",
"birth_year": "NA",
"hair_color": "none",
"skin_color": "grey"
},
{
"id": 36,
"mass": "NA",
"name": "Rugor Nass",
"gender": "male",
"height": "206",
"species": "Gungan",
"eye_color": "orange",
"homeworld": "Naboo",
"birth_year": "NA",
"hair_color": "none",
"skin_color": "green"
},
{
"id": 37,
"mass": "NA",
"name": "Ric Olié",
"gender": "male",
"height": "183",
"species": "NA",
"eye_color": "blue",
"homeworld": "Naboo",
"birth_year": "NA",
"hair_color": "brown",
"skin_color": "fair"
},
{
"id": 38},{"_note":"Response truncated for documentation purposes"}]
curl --location --request GET 'https://zylalabs.com/api/797/characters+from+star+wars+api/540/get+all+characters+info' --header 'Authorization: Bearer YOUR_API_KEY'
Após se cadastrar, cada desenvolvedor recebe uma chave de acesso à API pessoal, uma combinação única de letras e dígitos para acessar nosso endpoint de API. Para autenticar com a Personagens de Star Wars API basta incluir seu token Bearer no cabeçalho Authorization.
| Cabeçalho | Descrição |
|---|---|
Authorization
|
Obrigatório
Deve ser Bearer access_key. Veja "Sua chave de acesso à API" acima quando você estiver inscrito.
|
Sem compromisso de longo prazo. Faça upgrade, downgrade ou cancele a qualquer momento. O teste gratuito inclui até 50 requisições.
(Economize 2 meses com cobrança anual 🎉)
Esta API será capaz de recuperar informações sobre personagens de Star Wars com detalhes.
Ela fornecerá um JSON.
Esta API é ideal para aquelas empresas que desejam mostrar informações sobre personagens de Star Wars.
Além disso, para criar jogos/aplicações usando informações de personagens de Star Wars.
Plano Básico: 20.000 Chamadas de API.
Plano Pro: 50.000 Chamadas de API.
Plano Pro Plus: 100.000 Chamadas de API.
A API retorna informações detalhadas sobre os personagens de Star Wars, incluindo atributos como nome, massa, altura, gênero, espécie, cor dos olhos, planeta natal, ano de nascimento, cor do cabelo e cor da pele
Os campos principais na resposta incluem "id" "nome" "massa" "altura" "gênero" "espécie" "cor_dos_olhos" "mundo_natal" "ano_de_nascimento" "cor_do_cabelo" e "cor_da_pele" fornecendo perfis completos de personagens
Os dados da resposta estão estruturados como um array JSON onde as informações de cada personagem são representadas como um objeto com pares chave-valor para fácil acesso e manipulação
O ponto final fornece uma lista completa de detalhes dos personagens, incluindo atributos físicos, classificação de espécies e informações sobre o mundo natal, permitindo uma análise aprofundada dos personagens
Os usuários podem personalizar solicitações de dados especificando parâmetros como nome do personagem ou tipo de espécie se suportado permitindo consultas direcionadas para recuperar informações específicas do personagem
Os dados são provenientes da mídia canônica de Star Wars, garantindo que as informações sobre os personagens sejam precisas e reflitam o lore oficial estabelecido em filmes, séries e outros conteúdos relacionados
Casos de uso típicos incluem desenvolver jogos criar sites de fãs ou construir aplicações que exibam perfis de personagens aumentando o engajamento dos usuários com o conteúdo de Star Wars
Os usuários podem utilizar os dados retornados analisando a resposta JSON para exibir informações sobre personagens em aplicativos permitindo recursos como busca filtragem e comparações de personagens com base em atributos