xiaohongshu
xiaohongshu
eptr2-api-discovery
Discover and explore available eptr2 API endpoints for Turkish electricity market data. List all 213+ API calls, find endpoints by category (GÖP, GİP, DGP, Üretim, Tüketim), search for specific data types, and get parameter requirements. Use when asking what data is available, how to find endpoin...
Full skill instructions
This skill helps you discover and explore the 213+ API endpoints available in eptr2 for Turkish electricity market data. Use this when you need to find the right endpoint for your data needs.
from eptr2 import EPTR2
# Initialize
eptr = EPTR2(use_dotenv=True, recycle_tgt=True)
# List all available API calls
all_calls = eptr.get_available_calls()
print(f"Total available calls: {len(all_calls)}")
print(all_calls[:20]) # First 20 calls
# List all endpoint names
calls = eptr.get_available_calls()
print(calls)
# Get count of available endpoints
count = eptr.get_number_of_calls()
print(f"Available endpoints: {count}")
# Some endpoints have shorthand aliases
aliases = eptr.get_aliases()
print(aliases)
# Example: 'ptf' is alias for 'mcp', 'smf' is alias for 'smp'
from eptr2.mapping.help import get_help_d
# Get detailed info about an endpoint
help_info = get_help_d("mcp")
print(f"Category: {help_info['category']}")
print(f"Title (EN): {help_info['title']['en']}")
print(f"Title (TR): {help_info['title']['tr']}")
print(f"Description: {help_info['desc']['en']}")
print(f"URL: {help_info['url']}")
| Category | Turkish | Description | Example Calls |
|---|---|---|---|
| GÖP | Gün Öncesi Piyasası | Day-Ahead Market | mcp, dam-clearing, dam-volume |
| GİP | Gün İçi Piyasası | Intraday Market | wap, idm-qty, idm-log |
| DGP | Dengeleme Güç Piyasası | Balancing Power Market | smp, bpm-up, bpm-down |
| Üretim | Üretim | Generation | rt-generation, uevm, dpp |
| Tüketim | Tüketim | Consumption | rt-cons, uecm, load-plan |
| Dengesizlik | Dengesizlik | Imbalance | imbalance-price, imb-qty, imb-vol |
| İA | İkili Anlaşmalar | Bilateral Contracts | bi-long, bi-short |
| Barajlar | Barajlar | Dams/Reservoirs | dams-daily-level, dams-active-fullness |
| Kurulu Güç | Kurulu Güç | Installed Capacity | installed-capacity, lic-pp-list |
mcp / ptf - Market Clearing Pricesmp / smf - System Marginal Pricewap - Weighted Average Price (IDM)imbalance-price - Imbalance pricesrt-generation - Real-time generationrt-cons - Real-time consumptiondam-clearing - DAM cleared quantityidm-qty - IDM matched quantityload-plan - Demand forecastdpp / kgup - Daily production plankudup - Settlement production planuevm - Settlement generationuecm - Settlement consumptionfrom eptr2.mapping.help import get_help_d
# Get all help entries
all_help = get_help_d()
# Search for keywords
keyword = "price" # or "fiyat" for Turkish
matches = {
k: v for k, v in all_help.items()
if keyword.lower() in v['title']['en'].lower()
or keyword.lower() in v['desc']['en'].lower()
}
for call, info in matches.items():
print(f"{call}: {info['title']['en']}")
all_help = get_help_d()
# Filter by category
category = "GÖP" # Day-Ahead Market
gop_calls = {
k: v for k, v in all_help.items()
if v['category'] == category
}
print(f"GÖP (Day-Ahead Market) endpoints:")
for call, info in gop_calls.items():
print(f" {call}: {info['title']['en']}")
from eptr2.mapping.parameters import get_required_parameters, get_optional_parameters
# Check what parameters an endpoint needs
required = get_required_parameters("mcp")
optional = get_optional_parameters("mcp")
print(f"Required: {required}")
print(f"Optional: {optional}")
| Parameter | Type | Description |
|---|---|---|
start_date | str | Start date (YYYY-MM-DD) |
end_date | str | End date (YYYY-MM-DD) |
org_id | int/str | Organization ID |
pp_id | int/str | Power plant ID |
uevcb_id | int/str | Production unit ID |
| Call | Description |
|---|---|
mcp | Market Clearing Price |
smp | System Marginal Price |
wap | IDM Weighted Average Price |
imbalance-price | Imbalance prices |
mcp-smp-imb | Combined MCP, SMP, Imbalance |
| Call | Description |
|---|---|
rt-generation | Real-time generation by type |
rt-cons | Real-time consumption |
load-plan | Demand forecast |
dam-clearing | DAM cleared volume |
idm-qty | IDM matched volume |
| Call | Description |
|---|---|
dpp / kgup | Daily Production Plan (KGÜP) |
kgup-v1 | KGUP Version 1 |
kudup | Settlement Production Plan |
uevm | Settlement Generation (UEVM) |
scripts/list_endpoints.py for interactive discoveryxiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience