Skip to main content

CountryContributorsByComponents

Get geographical provenance for multiple components based on contributor declared locations and curated analysis.

HTTP Request Example

Response Format

Returns geographical provenance data per component.
  • purl — Component Package URL identifier
  • declared_locations — Locations reported by contributors in profiles or repository metadata
  • curated_locations — SCANOSS-derived geographic distribution
  • status — Request outcome (success or failure)

Response Examples

Component with Geographic Distribution

Component with Limited Geographic Data

Error in component

When a component cannot be processed, the response includes error fields:
  • error_code: Machine-readable error identifier
  • error_message: Human-readable explanation

CountryContributorsByComponent

Get geographical provenance for a single software component based on contributor declared locations and curated analysis.

HTTP Request Example

Response Format

Returns geographical provenance data per component.
  • purl — Component Package URL identifier
  • declared_locations — Locations reported by contributors in profiles or repository metadata
  • curated_locations — SCANOSS-derived geographic distribution
  • status — Request outcome (success or failure)

Response Examples

Component with Geographic Distribution

Component with Limited Geographic Data

Error in component

When a component cannot be processed, the response includes error fields:
  • error_code: Machine-readable error identifier
  • error_message: Human-readable explanation

GetOriginByComponents

Retrieves geographical origin information based on contributor commit timing patterns and development activity analysis. This method examines when contributors are most active to infer their likely geographical locations.

HTTP Request Example

Response Format

Returns commit-time based geographical origin analysis per component.
  • components_locations — List of origin results derived from commit activity patterns
  • status — Request outcome (success or failure)
Each item in components_locations includes:
  • purl — Component Package URL identifier
  • locations — Country distribution inferred from commit timing analysis, expressed as percentage contribution per region

Response Examples

Component with Origin Analysis

Component with Single Origin

Error in component

When a component cannot be processed, the response includes error fields:
  • error_code: Machine-readable error identifier
  • error_message: Human-readable explanation

GetOriginByComponent

Get geographical origin for multiple components based on commit timing and activity patterns.

HTTP Request Example

Response Format

Returns commit-time based geographical origin analysis per component.
  • components_locations — List of origin results derived from commit activity patterns
  • status — Request outcome (success or failure)
Each item in components_locations includes:
  • purl — Component Package URL identifier
  • locations — Country distribution inferred from commit timing analysis, expressed as percentage contribution per region

Response Examples

Component with Origin Analysis

Component with Single Origin

Error in component

When a component cannot be processed, the response includes error fields:
  • error_code: Machine-readable error identifier
  • error_message: Human-readable explanation