# Can I send an external URL to the Discourse API for it to return topics linking to that URL?

**URL:** https://meta.discourse.org/t/can-i-send-an-external-url-to-the-discourse-api-for-it-to-return-topics-linking-to-that-url/392361
**Category:** Support
**Tags:** rest-api
**Created:** [December 29, 2025, 9:57pm UTC](https://meta.discourse.org/t/can-i-send-an-external-url-to-the-discourse-api-for-it-to-return-topics-linking-to-that-url/392361 "2025-12-29T21:57:37Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![Jonathan5](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jonathan5/32/197134_2.png) [@Jonathan5](https://meta.discourse.org/u/Jonathan5)
#### Post date: [December 30, 2025, 12:16am UTC](https://meta.discourse.org/t/can-i-send-an-external-url-to-the-discourse-api-for-it-to-return-topics-linking-to-that-url/392361/3 "2025-12-30T00:16:52Z")

</div>

> [@pfaffman](#):
>
> you might be able to use the TopicLink table to do a search of topics that link that URL (probably with the [Data Explorer](https://meta.discourse.org/t/32566?silent=true) plugin) and then you’d have the topic and post IDs so you could link to them

Do you think I could create a query with a URL parameter and run it via the API using this? [Run Data Explorer queries with the Discourse API](https://meta.discourse.org/t/run-data-explorer-queries-with-the-discourse-api/120063).

---

_[View the full topic](https://meta.discourse.org/t/can-i-send-an-external-url-to-the-discourse-api-for-it-to-return-topics-linking-to-that-url/392361)._
