Discover/light.gg API
live

light.gg APIlight.gg

Access Destiny 2 weapon stats, perk popularity, god roll rankings, and community reviews from Light.gg via 4 structured endpoints.

Endpoints
4
Updated
10d ago
Try it
Search term for weapon or item name (e.g. 'ace of spades', 'hand cannon')
api.parse.bot/scraper/8619cb88-88b8-490c-94fb-0c3b8b1b8f28/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/8619cb88-88b8-490c-94fb-0c3b8b1b8f28/search_weapons?query=ace+of+spades' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 4 totalclick to expand

Search for weapons or items by name on light.gg. Returns matching items with their IDs and URLs.

Input
ParamTypeDescription
queryrequiredstringSearch term for weapon or item name (e.g. 'ace of spades', 'hand cannon')
Response
{
  "type": "object",
  "fields": {
    "results": "array of objects with id, name, and url for each matching item"
  },
  "sample": {
    "data": {
      "results": [
        {
          "id": "347366834",
          "url": "https://www.light.gg/db/items/347366834",
          "name": "Ace of Spades"
        },
        {
          "id": "3708505013",
          "url": "https://www.light.gg/db/items/3708505013",
          "name": "Ace of Spades Catalyst"
        }
      ]
    },
    "status": "success"
  }
}

About the light.gg API

The Light.gg API exposes 4 endpoints covering Destiny 2 weapon data drawn from Light.gg and the Bungie API, including full weapon stats, perk popularity percentages, popular trait combinations, and community reviews. The get_weapon_details endpoint returns over 8 distinct fields per weapon — stats array, perks_popularity, popular_trait_combinations, community_insight, and user reviews — keyed by Bungie item hash ID.

Weapon Search and Lookup

The search_weapons endpoint accepts a free-text query parameter (e.g. 'ace of spades' or 'hand cannon') and returns an array of matching items, each with an id, name, and url. The id values returned here are Bungie item hash IDs, which feed directly into get_weapon_details as the item_id parameter.

Detailed Weapon Data

get_weapon_details is the core endpoint. Given a numeric Bungie item hash, it returns the weapon's stats array (each stat includes name, value, and hash), perks_popularity (each perk with its community adoption percentage), popular_trait_combinations (perk pairs with a popularity string), community_insight text, user reviews with ratings and comments, and metadata like itemTypeDisplayName and flavor description. This makes it straightforward to build god roll evaluation tools without maintaining your own Bungie API integration.

Popularity Rankings and Perk-Based Search

get_popular_weapons requires no inputs and returns up to 25 weapons ranked by community usage, each with an id, name, rank, and url — useful for tracking the current meta. search_by_perks takes a comma-separated list of perk hash IDs in the perk_ids parameter and returns all weapons that carry those perks, letting you approach the dataset from the perk side rather than the weapon side.

Data Coverage Notes

Weapon hash IDs in this API correspond directly to Bungie's item manifest, so they remain stable across Light.gg and any other Bungie-ecosystem tooling. Perk popularity percentages and community insights reflect Light.gg's user-contributed data and may lag shortly after new content releases.

Common use cases
  • Build a god roll advisor that ranks perk combinations by the popularity field from popular_trait_combinations
  • Display community-written community_insight text alongside weapon stats in a Destiny 2 companion app
  • Track meta shifts by polling get_popular_weapons and logging rank changes over time
  • Find all weapons that share a desired perk using search_by_perks with specific perk hash IDs
  • Aggregate user reviews and ratings from get_weapon_details to surface sentiment on newly released weapons
  • Compare stats arrays across multiple weapons by resolving multiple Bungie item hash IDs in sequence
  • Auto-complete weapon search in a loadout builder using search_weapons query results
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does Bungie offer an official API for Destiny 2 weapon data?+
Yes. Bungie provides the Bungie.net Platform API at https://bungie-net.github.io/, which covers item manifests and character data. However, it does not include Light.gg-specific data such as perk popularity percentages, popular trait combinations, or community insight text — those fields come exclusively from Light.gg's user data.
What does `perks_popularity` actually represent in `get_weapon_details`?+
perks_popularity is an array where each object contains a perk name and a popularity percentage string reflecting how often that perk appears in Light.gg users' submitted rolls for that weapon. It is distinct from popular_trait_combinations, which shows paired perk combinations ranked by frequency.
Does the API return data for Destiny 1 weapons or only Destiny 2?+
The API currently covers Destiny 2 weapons indexed on Light.gg. Destiny 1 item data is not exposed. You can fork this API on Parse and revise it to target Destiny 1 item pages if Light.gg still hosts that content.
Is there pagination for `search_weapons` or `get_popular_weapons` results?+
get_popular_weapons returns up to 25 weapons with no pagination parameters. search_weapons returns all matching results for the query string in a single response array. Neither endpoint currently supports page or offset parameters. You can fork the API on Parse and revise it to add pagination or result-count controls.
Does the API expose PvP or PvE-specific god roll recommendations separately?+
Not currently. The API returns a single popular_trait_combinations array per weapon without splitting by activity type (PvP vs. PvE). The community_insight text field may contain activity-specific commentary, but it is unstructured. You can fork the API on Parse and revise it to add an activity-filter parameter if that distinction becomes available in the source data.
Page content last updated . Spec covers 4 endpoints from light.gg.
Related APIs in EntertainmentSee all →
bet365.bet.br API
Access live betting odds, featured sports events, and real-time scores directly from bet365 Brazil's platform across multiple sports including Formula 1 and in-play markets. Get current match results, browse available betting categories, and view homepage promotions all through structured data endpoints.
pdga.com API
Access player profiles, ratings history, tournament events, live scoring, world rankings, and the course directory from the Professional Disc Golf Association.
viagogo.com API
Search for events and browse tickets across Viagogo's catalog, discovering performer schedules, ticket listings, and categories all in one place. Get detailed information about available tickets and events to find exactly what you're looking for.
bwfbadminton.com API
Track badminton tournaments worldwide by browsing the BWF calendar, viewing tournament draw brackets, and retrieving detailed match results with player stats and scores. Stay updated on competitions and analyze matchups with comprehensive tournament data from the Badminton World Federation.
mwcbarcelona.com API
Discover and explore MWC Barcelona 2026 exhibitors, speakers, and sessions by searching, filtering, and browsing by category, location, or type. Access detailed information about pavilions, agenda schedules, news updates, and pass options to plan your conference experience.
axs.com API
Search for events, performers, and venues across AXS.com to find tickets, pricing, and availability information in your area or by category. Browse featured events, explore venues by city, and access detailed event information all in one place.
brickset.com API
Search and browse thousands of LEGO sets by theme, year, or keyword. Retrieve detailed data for any set including piece count, minifigure count, dimensions, RRP, and more. Explore the full catalog of themes and yearly releases available on Brickset.
formula1.com API
Get comprehensive Formula 1 data including race results, qualifying sessions, practice sessions, pit stops, and driver/team standings from 1950 to present. Track live race schedules, fastest laps, starting grids, and historical world champions to stay updated on all F1 season information.