Sunrise Sunset website screenshot

Sunrise Sunset

Free REST API providing sunrise, sunset, solar noon, day length, and civil, nautical, and astronomical twilight times for any geographic location and date. No API key or account required; attribution to sunrise-sunset.org is required. A single GET request to https://api.sunrise-sunset.org/json with a latitude, longitude, and optional date returns all solar time data for that location.

Sunrise Sunset publishes 1 API on the APIs.io network: Json API. Tagged areas include Sunrise, Sunset, Solar, Astronomy, and Twilight.

The Sunrise Sunset catalog on APIs.io includes 1 JSON-LD context and 1 Spectral governance ruleset.

Sunrise Sunset’s developer surface includes documentation and 10 more developer resources.

43.7/100 developing ▬ flat Agent 28/100 agent aware Full breakdown ↓
scored 2026-08-05 · rubric v0.9.1
AccessFreeOpen⚡ Free to try
1 APIs
SunriseSunsetSolarAstronomyTwilightWeatherGeolocationFree

Kin Score

Kin Score Kin Score How this is scored →
scored 2026-08-05 · rubric v0.9.1
Composite quality — 43.7/100 · developing
Contract Quality 16.1 / 25
Developer Ergonomics 1.7 / 20
Commercial Clarity 10.0 / 20
Operational Transparency 2.1 / 13
Governance 7.0 / 12
Discoverability 6.9 / 10
Agent readiness — 28/100 · agent aware
Machine-Readable Contract 18 / 18
Agentic Access Contract 10 / 10
MCP Server 0 / 12
Machine-Readable Auth 0 / 10
Idempotency 0 / 9
Stable Error Semantics 0 / 8
Request/Response Examples 7 / 7
Rate-Limit Signaling 7 / 7
Typed Event Surface 0 / 6
Agent Skills 0 / 5
Well-Known Catalog 0 / 4
Consent & Bot Identity 0 / 3
A2A Agent Card 0 / 8
Dry-Run / Simulate Mode 0 / 4
Improve this rating by publishing the missing artifacts — every area above can be raised, and the full rubric is at apis.io/rating/. This rating is computed from github.com/api-evangelist/sunrise-sunset: open an issue to ask a question, or submit a pull request to add artifacts. Want it done for you? Prioritized profiling — $2,500 →

APIs 1

Individual APIs this provider publishes, each with its own machine-readable definition.

Sunrise Sunset Json API

The Json API from Sunrise Sunset — 1 operation(s) for json.

Pricing Plans 1

Published pricing tiers and plan structures.

Rate Limits 1

Documented rate limits and quota policies.

Sunrise Sunset Rate Limits

0 limits

RATE LIMITS

FinOps 1

Cost, billing, and metering signals for API financial operations.

Semantic Vocabularies 1

JSON-LD contexts and semantic vocabularies used across these APIs.

Sunrise Sunset Context

2 classes · 16 properties

JSON-LD

Spectral Rules 1

Spectral governance rulesets for linting and validating these APIs.

Sunrise Sunset API Rules

5 rules · 4 warnings 1 info

SPECTRAL

JSON Schema 1

Standalone JSON Schema definitions for this provider's data models.

SolarTimesResponse

3 properties

JSON SCHEMA

Examples 2

Example request and response payloads for these APIs.

Get Solar Times Formatted

4 fields

EXAMPLE

Get Solar Times Iso8601

4 fields

EXAMPLE

Security Posture 1

Authentication, domain security, vulnerability disclosure, and trust-center signals.

Agentic Access 1

Recommended x-agentic-access execution contracts for AI agents.

Sunrise Sunset Agentic Access

1 operation

1 operations · 0 acting

AGENTIC

Resources

Documentation 1

Reference material describing how the API behaves

Agent Surfaces 1

MCP servers, agent skills, and machine-readable catalogs

Access & Security 1

Authentication, authorization, and security posture

Operate 3

Status, limits, changes, and where to get help

Commercial 4

Pricing, plans, and the legal terms of use

Company 1

The organization behind the API

Source (apis.yml)

apis.yml Raw ↑
aid: sunrise-sunset
name: Sunrise Sunset
description: 'Free REST API providing sunrise, sunset, solar noon, day length, and civil, nautical, and astronomical twilight
  times for any geographic location and date. No API key or account required; attribution to sunrise-sunset.org is required.
  A single GET request to https://api.sunrise-sunset.org/json with a latitude, longitude, and optional date returns all solar
  time data for that location.

  '
accessModel:
  pricing: free
  onboarding: open
  trial: false
  try_now: true
  public: true
  label: Free · Open access
  confidence: medium
  source:
  - plans
  generated: '2026-07-22'
  method: derived
image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/icons/sunrise-sunset.png
url: https://raw.githubusercontent.com/api-evangelist/sunrise-sunset/refs/heads/main/apis.yml
created: '2026-06-13'
modified: '2026-06-13'
specificationVersion: '0.19'
type: Index
tags:
- Sunrise
- Sunset
- Solar
- Astronomy
- Twilight
- Weather
- Geolocation
- Free
apis:
- aid: sunrise-sunset:sunrise-sunset-json-api
  name: Sunrise Sunset Json API
  description: The Json API from Sunrise Sunset — 1 operation(s) for json.
  humanURL: https://sunrise-sunset.org/api
  baseURL: https://api.sunrise-sunset.org
  tags:
  - Json
  properties:
  - type: OpenAPI
    url: openapi/sunrise-sunset-json-api-openapi.yml
  - type: Documentation
    url: https://sunrise-sunset.org/api
common:
- type: AgenticAccess
  url: agentic-access/sunrise-sunset-agentic-access.yml
- type: DomainSecurity
  url: security/sunrise-sunset-domain-security.yml
- type: Website
  url: https://sunrise-sunset.org/
- type: Documentation
  url: https://sunrise-sunset.org/api
- type: StatusPage
  url: https://apistatus.sunrise-sunset.org/
- type: Plans
  url: https://raw.githubusercontent.com/api-evangelist/sunrise-sunset/refs/heads/main/plans/sunrise-sunset-plans-pricing.yml
- type: RateLimits
  url: https://raw.githubusercontent.com/api-evangelist/sunrise-sunset/refs/heads/main/rate-limits/sunrise-sunset-rate-limits.yml
- type: FinOps
  url: https://raw.githubusercontent.com/api-evangelist/sunrise-sunset/refs/heads/main/finops/sunrise-sunset-finops.yml
- type: TermsOfService
  url: https://sunrise-sunset.org/terms
- type: PrivacyPolicy
  url: https://sunrise-sunset.org/privacy
- type: Contact
  url: https://sunrise-sunset.org/contact
maintainers:
- FN: Kin Lane
  email: kin@apievangelist.com